]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing lib/cr_vmware_tpl/config.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 23 Jun 2020 09:19:21 +0000 (11:19 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 23 Jun 2020 09:19:21 +0000 (11:19 +0200)
lib/cr_vmware_tpl/config.py

index 9a4b57f533e3e0ced2c401494f7e030546517ba8..e7a9d940b2fbdc29c8d6cdccff6f32f8a54ecdda 100644 (file)
@@ -22,7 +22,7 @@ from fb_tools.config import ConfigError, BaseConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '1.5.6'
+__version__ = '1.5.7'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -282,7 +282,7 @@ class CrTplConfiguration(BaseConfiguration):
         if not self._template_name_given:
             self.template_name = self.os_id + '-template'
 
-        if not self._template_name_given:
+        if not self._cobbler_profile_given:
             self.cobbler_profile = 'vmware-template-' + self.os_id
 
         self.cobbler_ks_dir = self.cobbler_rootdir / 'kickstarts'