mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-18 03:01:25 +00:00
Increase memory size from 2048 to 4096 for PowerPC
as today seems to be required to avoid createhdds to hang on creation of disk_f25_minimal_2_ppc64le.img.tmp ...[13/22] Trying to VNC connect, show anaconda menu stuck on "Performing post-installation setup tasks" Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
eec1f1ae6e
commit
1f39c80d2b
@ -236,8 +236,10 @@ class VirtInstallImage(object):
|
|||||||
arch = self.arch
|
arch = self.arch
|
||||||
if arch in ['ppc64','ppc64le']:
|
if arch in ['ppc64','ppc64le']:
|
||||||
fedoradir = 'fedora-secondary'
|
fedoradir = 'fedora-secondary'
|
||||||
|
memsize = '4096'
|
||||||
else:
|
else:
|
||||||
fedoradir = 'fedora/linux'
|
fedoradir = 'fedora/linux'
|
||||||
|
memsize = '2048'
|
||||||
# this is almost complex enough to need fedfind but not
|
# this is almost complex enough to need fedfind but not
|
||||||
# quite, I think. also fedfind can't find the 'transient'
|
# quite, I think. also fedfind can't find the 'transient'
|
||||||
# rawhide and branched locations at present
|
# rawhide and branched locations at present
|
||||||
@ -264,7 +266,7 @@ class VirtInstallImage(object):
|
|||||||
"--os-variant", shortid, "-x", xargs, "--initrd-inject",
|
"--os-variant", shortid, "-x", xargs, "--initrd-inject",
|
||||||
"{0}/{1}.ks".format(SCRIPTDIR, self.name), "--location",
|
"{0}/{1}.ks".format(SCRIPTDIR, self.name), "--location",
|
||||||
loctmp.format(str(self.release), variant, arch), "--name", "createhdds",
|
loctmp.format(str(self.release), variant, arch), "--name", "createhdds",
|
||||||
"--memory", "2048", "--noreboot", "--wait", "-1"]
|
"--memory", memsize , "--noreboot", "--wait", "-1"]
|
||||||
if textinst:
|
if textinst:
|
||||||
args.extend(("--graphics", "none", "--extra-args", "console=ttyS0"))
|
args.extend(("--graphics", "none", "--extra-args", "console=ttyS0"))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user