Add the dracut options to the lorax help output
Related: rhbz#1452220
This commit is contained in:
parent
e3b1292262
commit
245e0e84df
@ -45,7 +45,7 @@ from pylorax.installer import InstallError, novirt_install, virt_install
|
|||||||
|
|
||||||
RUNTIME = "images/install.img"
|
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",
|
DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom",
|
||||||
"--omit", "plymouth", "--no-hostonly", "--no-early-microcode"]
|
"--omit", "plymouth", "--no-hostonly", "--no-early-microcode"]
|
||||||
|
|
||||||
|
@ -162,6 +162,7 @@ def main(args):
|
|||||||
# add the option groups to the parser
|
# add the option groups to the parser
|
||||||
parser.add_option_group(required)
|
parser.add_option_group(required)
|
||||||
parser.add_option_group(optional)
|
parser.add_option_group(optional)
|
||||||
|
parser.add_option_group(dracut_group)
|
||||||
|
|
||||||
# add the show version option
|
# add the show version option
|
||||||
parser.add_option("-V", help="show program's version number and exit",
|
parser.add_option("-V", help="show program's version number and exit",
|
||||||
|
Loading…
Reference in New Issue
Block a user