From 5b3dbd4fd8d1df5d6a5bcf46d5eba16501a01296 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Fri, 8 Nov 2019 10:07:18 -0500 Subject: [PATCH] Remove title option for livemedia-creator Signed-off-by: Mohan Boddu --- builder/kojid | 2 -- cli/koji_cli/commands.py | 3 +-- tests/test_cli/test_spin_commands.py | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/builder/kojid b/builder/kojid index 6e67965b..186f4ecd 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 48b4ac07..793dbd6e 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 eaba95e9..f5f3c42c 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