From 856bed8e70ad05c92b454d75644d28c658a2b16a Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 12 Jun 2020 14:46:16 +0200 Subject: [PATCH] Removing SSHD from profile kopts --- lib/cr_vmware_tpl/cobbler.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 76ac169..6e41729 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -508,10 +508,6 @@ class Cobbler(BaseHandler): args.append('--kickstart') args.append(str(self.config.cobbler_profile_ks)) - if 'inst.sshd' not in js['kernel_options']: - args.append('--kopts') - args.append('inst.sshd') - if js['repos'] != self.config.cobbler_profile_repos: args.append('--repos') args.append(' '.join(self.config.cobbler_profile_repos)) @@ -572,8 +568,6 @@ class Cobbler(BaseHandler): args.append('1') args.append('--kickstart') args.append(str(self.config.cobbler_profile_ks)) - args.append('--kopts') - args.append('inst.sshd') if self.config.cobbler_profile_repos: args.append('--repos') args.append(' '.join(self.config.cobbler_profile_repos)) -- 2.39.5