]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Debug output
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 15:35:03 +0000 (17:35 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 15:35:03 +0000 (17:35 +0200)
lib/cr_vmware_tpl/cobbler.py

index 8d722686ab6e4742487fb5f167abeefc7add4d6d..e452b9b69e88d6e666021b08d4605f13496d1fb2 100644 (file)
@@ -34,7 +34,7 @@ from .config import CrTplConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '0.3.5'
+__version__ = '0.3.6'
 
 LOG = logging.getLogger(__name__)
 
@@ -288,6 +288,7 @@ class Cobbler(BaseHandler):
 
         proc = self.exec_ssh(cmd)
         if proc.returncode == 0:
+            LOG.debug(_("Kickstart script {!r} is has the correct content").format(str(remote_ks)))
             return
 
         msg = _("Kickstart script {!r} has to be copied.").format(str(local_ks))