From: Frank Brehm Date: Thu, 11 Jun 2020 15:39:09 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 2.1.2^2~9^2~31^2~52 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=2092ea5666b005fbeecd262bbdd7f04772df5762;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- 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) # =============================================================================