]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 10:24:51 +0000 (12:24 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 10:24:51 +0000 (12:24 +0200)
lib/cr_vmware_tpl/handler.py

index f44d629eeb53df2b28ce3cc0257dda3941e95abb..637815823af42ee07c63ae015eb54132059602cd 100644 (file)
@@ -42,7 +42,7 @@ from .cobbler import CobblerError, Cobbler
 
 from .xlate import XLATOR
 
-__version__ = '1.5.8'
+__version__ = '1.5.9'
 
 LOG = logging.getLogger(__name__)
 TZ = pytz.timezone('Europe/Berlin')
@@ -283,8 +283,7 @@ class CrTplHandler(BaseHandler):
             if self.config.vsphere_host == 'vcs01.ppbrln.internal':
                 status = 'production'
             self.cobbler.add_system(
-                name=tpl_sysname, fqdn=self.tpl_vm_fqdn, mac_address=self.tpl_macaddress,
-                status=status)
+                name=tpl_sysname, fqdn=self.tpl_vm_fqdn, mac_address=self.tpl_macaddress)
 
 #            self.vsphere.poweron_vm(self.tpl_vm, max_wait=self.config.max_wait_for_poweron_vm)
 #            self.ts_start_install = time.time()