]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 15:39:09 +0000 (17:39 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Jun 2020 15:39:09 +0000 (17:39 +0200)
lib/cr_vmware_tpl/cobbler.py

index 424781bf135498ed3355c0eef3392396323daa39..ef0027f455157b5a089528249dc79f69a384b66d 100644 (file)
@@ -37,7 +37,7 @@ from .config import CrTplConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '0.4.10'
+__version__ = '0.4.11'
 
 LOG = logging.getLogger(__name__)
 
@@ -725,7 +725,8 @@ class Cobbler(BaseHandler):
 
         LOG.info(_("Ensuring currentness of authorized_keys file of root {!r}.").format(
             str(remote_file)))
-        self.ensure_remote_file(auth_keys_file, remote_file)
+        self.ensure_remote_directory(remote_dir)
+        self.ensure_remote_file(auth_keys_file, remote_file, check_parent=False)
 
 
 # =============================================================================