From: Frank Brehm Date: Wed, 27 May 2020 13:38:51 +0000 (+0200) Subject: Initializing Cobbler object X-Git-Tag: 2.1.2^2~9^2~31^2~112 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=be22a3ec1f9779f3cbce5555fcc91a45dd8ddbb4;p=pixelpark%2Fcreate-vmware-tpl.git Initializing Cobbler object --- diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 375554a..db90b61 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -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