]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Initializing Cobbler object
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 27 May 2020 13:38:51 +0000 (15:38 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 27 May 2020 13:39:02 +0000 (15:39 +0200)
lib/cr_vmware_tpl/handler.py

index 375554a46bf9e442bde9570f3e88cd1c99facbda..db90b614f23becac35198d1138ad9bdcd64f98b4 100644 (file)
@@ -40,7 +40,7 @@ from .cobbler import CobblerError, Cobbler
 
 from .xlate import XLATOR
 
-__version__ = '1.4.1'
+__version__ = '1.4.2'
 
 LOG = logging.getLogger(__name__)
 TZ = pytz.timezone('Europe/Berlin')
@@ -120,6 +120,11 @@ class CrTplHandler(BaseHandler):
             terminal_has_colors=self.terminal_has_colors, initialized=False)
         self.cluster = None
 
+        self.cobbler = Cobbler(
+            appname=self.appname, verbose=self.verbose, base_dir=self.base_dir,
+            config=config, imulate=self.simulate, force=self.force,
+            terminal_has_colors=self.terminal_has_colors, initialized=False)
+
         if initialized:
             self.initialized = True
             self.vsphere.initialized = True