Add the dracut options to the lorax help output

Related: rhbz#1452220
This commit is contained in:
Brian C. Lane 2018-08-14 15:44:19 -07:00
parent e3b1292262
commit 245e0e84df
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@ from pylorax.installer import InstallError, novirt_install, virt_install
RUNTIME = "images/install.img"
# Default parameters for rebuilding initramfs, override with --dracut-args
# Default parameters for rebuilding initramfs, override with --dracut-arg
DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom",
"--omit", "plymouth", "--no-hostonly", "--no-early-microcode"]

View File

@ -162,6 +162,7 @@ def main(args):
# add the option groups to the parser
parser.add_option_group(required)
parser.add_option_group(optional)
parser.add_option_group(dracut_group)
# add the show version option
parser.add_option("-V", help="show program's version number and exit",