From c54b5604900451cf14bfe897c76b9da9b13d3093 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 11 Jun 2020 12:24:51 +0200 Subject: [PATCH] Bugfixing --- lib/cr_vmware_tpl/handler.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index f44d629..6378158 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -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() -- 2.39.5