diff --git a/src/pylorax/creator.py b/src/pylorax/creator.py index 84333dbf..ddc6371b 100644 --- a/src/pylorax/creator.py +++ b/src/pylorax/creator.py @@ -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"] diff --git a/src/sbin/lorax b/src/sbin/lorax index 5f6ac28f..41f07642 100755 --- a/src/sbin/lorax +++ b/src/sbin/lorax @@ -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",