]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Removing SSHD from profile kopts
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 Jun 2020 12:46:16 +0000 (14:46 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 Jun 2020 12:46:16 +0000 (14:46 +0200)
lib/cr_vmware_tpl/cobbler.py

index 76ac1696c39cbb5542efc2173a0d79b660910cb9..6e417295fdc0a2a2d9ce3f55d4450f673d5f3e6e 100644 (file)
@@ -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))