Added volume id as argument to livemedia task

This commit is contained in:
Brendan Reilly 2019-01-30 11:37:03 -05:00 committed by Mike McLean
parent 273c18c9d1
commit b92824cca0
2 changed files with 17 additions and 3 deletions

View file

@ -5479,6 +5479,7 @@ def handle_spin_livecd(options, session, args):
"RPMs in the LiveCD. May be used multiple times. The " +
"build tag repo associated with the target is the default."))
parser.add_option("--release", help=_("Forcibly set the release field"))
parser.add_option("--volid", help=_("Set the volume id"))
parser.add_option("--specfile", metavar="URL",
help=_("SCM URL to spec file fragment to use to generate wrapper RPMs"))
parser.add_option("--skip-tag", action="store_true",
@ -5527,6 +5528,7 @@ def handle_spin_livemedia(options, session, args):
"build tag repo associated with the target is the default."))
parser.add_option("--release", help=_("Forcibly set the release field"))
parser.add_option("--title", help=_("Set the image title (defaults to <name>)"))
parser.add_option("--volid", help=_("Set the volume id"))
parser.add_option("--specfile", metavar="URL",
help=_("SCM URL to spec file fragment to use to generate wrapper RPMs"))
parser.add_option("--skip-tag", action="store_true",
@ -5927,7 +5929,7 @@ def _build_image(options, task_opts, session, args, img_type):
passthru_opts = [
'format', 'install_tree_url', 'isoname', 'ksurl',
'ksversion', 'release', 'repo', 'scratch', 'skip_tag',
'specfile', 'title', 'vcpu', 'vmem', 'optional_arches',
'specfile', 'title', 'vcpu', 'vmem', 'volid', 'optional_arches',
'lorax_dir', 'lorax_url',
]
for opt in passthru_opts: