From 3c79f3c932bf199e26054e728efda8fd17d99c50 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Nov 08 2019 15:07:18 +0000 Subject: Remove title option for livemedia-creator Signed-off-by: Mohan Boddu --- diff --git a/builder/kojid b/builder/kojid index 6e67965..186f4ec 100755 --- a/builder/kojid +++ b/builder/kojid @@ -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, ]) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 48b4ac0..793dbd6 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -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 )")) 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: diff --git a/tests/test_cli/test_spin_commands.py b/tests/test_cli/test_spin_commands.py index eaba95e..f5f3c42 100644 --- a/tests/test_cli/test_spin_commands.py +++ b/tests/test_cli/test_spin_commands.py @@ -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 ) --volid=VOLID Set the volume id --specfile=URL SCM URL to spec file fragment to use to generate wrapper RPMs