Increase default ram used with lmc and virt to 2048

1024 is a bit small in some situations, double it.

Resolves: rhbz#1538747
(cherry picked from commit 594e762d63)
This commit is contained in:
Brian C. Lane 2018-06-08 11:44:09 -07:00
parent 96e132f733
commit ec8ecba9d1

View File

@ -233,7 +233,7 @@ def lmc_parser(dracut_default=""):
# Group of arguments to pass to qemu # Group of arguments to pass to qemu
virt_group = parser.add_argument_group("qemu arguments") virt_group = parser.add_argument_group("qemu arguments")
virt_group.add_argument("--ram", metavar="MEMORY", type=int, default=1024, virt_group.add_argument("--ram", metavar="MEMORY", type=int, default=2048,
help="Memory to allocate for installer in megabytes.") help="Memory to allocate for installer in megabytes.")
virt_group.add_argument("--vcpus", type=int, default=None, virt_group.add_argument("--vcpus", type=int, default=None,
help="Passed to qemu -smp command") help="Passed to qemu -smp command")