From 2092ea5666b005fbeecd262bbdd7f04772df5762 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 11 Jun 2020 17:39:09 +0200 Subject: [PATCH] Bugfixing --- lib/cr_vmware_tpl/cobbler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 424781b..ef0027f 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -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) # ============================================================================= -- 2.39.5