]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 14:31:26 +0000 (16:31 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 14:31:26 +0000 (16:31 +0200)
lib/cr_vmware_tpl/cobbler.py

index 75aa10cc7d817e595dc85a1dc2856837295eaa98..e981810dc792dfe24552e5efdda25f4df29ede43 100644 (file)
@@ -32,7 +32,7 @@ from .config import CrTplConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '0.3.3'
+__version__ = '0.3.4'
 
 LOG = logging.getLogger(__name__)
 
@@ -251,7 +251,7 @@ class Cobbler(BaseHandler):
         os_id = self.config.os_id
         comment = "Profile for creating a {} profile.".format(os_id)
 
-        args = []
+        args = ['profile', 'add']
         args.append('--name')
         args.append(self.config.cobbler_profile)
         args.append('--distro')