Remove title option for livemedia-creator

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
Mohan Boddu 2019-11-08 10:07:18 -05:00 committed by Tomas Kopecek
parent aaaabcc99c
commit 5b3dbd4fd8
3 changed files with 1 additions and 6 deletions

View file

@ -3423,10 +3423,8 @@ class LiveMediaTask(ImageTask):
])
isoname='%s-%s-%s-%s.iso' % (name, arch, version, release)
title = self.opts.get('title', name)
cmd.extend(['--iso-name', isoname,
'--releasever', version,
'--title', title,
])

View file

@ -5663,7 +5663,6 @@ def handle_spin_livemedia(options, session, args):
"RPMs in the LiveMedia. 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("--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"))
@ -6065,7 +6064,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', 'volid', 'optional_arches',
'specfile', 'vcpu', 'vmem', 'volid', 'optional_arches',
'lorax_dir', 'lorax_url',
]
for opt in passthru_opts:

View file

@ -41,7 +41,6 @@ LIVEMEDIA_OPTIONS = {
"lorax_dir": None,
"lorax_url": None,
"optional_arches": None,
"title": None,
"volid": None,
}
@ -414,7 +413,6 @@ Options:
times. The build tag repo associated with the target
is the default.
--release=RELEASE Forcibly set the release field
--title=TITLE Set the image title (defaults to <name>)
--volid=VOLID Set the volume id
--specfile=URL SCM URL to spec file fragment to use to generate
wrapper RPMs