]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing in lib/cr_vmware_tpl/handler.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 5 Nov 2018 11:43:47 +0000 (12:43 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 5 Nov 2018 11:43:47 +0000 (12:43 +0100)
lib/cr_vmware_tpl/handler.py

index 152d7e1e92a2ab5e8ef7b351a8e449809b78921c..fcb8243e2f339ebec82800efe5b2b8369405fc33 100644 (file)
@@ -36,7 +36,7 @@ from fb_tools.vsphere.iface import VsphereVmInterface
 
 from .config import CrTplConfiguration
 
-__version__ = '0.10.12'
+__version__ = '0.10.13'
 
 LOG = logging.getLogger(__name__)
 TZ = pytz.timezone('Europe/Berlin')
@@ -89,7 +89,7 @@ class CrTplHandler(BaseHandler):
         self.initial_sleep = 60
         self.interval_poll = 0.5
         self.interval_dot = 2
-        self.private_ssh_key = os.path.join(self.base_dir, 'keys', 'id_rsa_cr_vmw_tpl')
+        self.private_ssh_key = str(self.base_dir.joinpath('keys', 'id_rsa_cr_vmw_tpl'))
         self.ssh_port = 22
         self.ssh_user = 'root'
         self.ssh_timeout = 30