From: Frank Brehm Date: Fri, 12 Jun 2020 12:46:16 +0000 (+0200) Subject: Removing SSHD from profile kopts X-Git-Tag: 2.1.2^2~9^2~31^2~43 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=856bed8e70ad05c92b454d75644d28c658a2b16a;p=pixelpark%2Fcreate-vmware-tpl.git Removing SSHD from profile kopts --- 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))