summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-08 14:14:37 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-08 14:14:37 +0000
commitbe72eb1771b0d83bf3a48ac2e59255dc8644e665 (patch)
treee9795ef63c601b2816355676c0b478069d642328 /morphlib
parentfc1f2170f845e4dbac4a75f0c60694e38f300667 (diff)
parent8d1319f0053b6bcad417916f6dd62022e04e8e21 (diff)
downloadmorph-be72eb1771b0d83bf3a48ac2e59255dc8644e665.tar.gz
Merge branch 'master' of git://git.baserock.org/baserock/baserock/morph
Diffstat (limited to 'morphlib')
-rwxr-xr-xmorphlib/exts/ssh.configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/exts/ssh.configure b/morphlib/exts/ssh.configure
index 75b46b11..6012f298 100755
--- a/morphlib/exts/ssh.configure
+++ b/morphlib/exts/ssh.configure
@@ -114,7 +114,7 @@ class SshConfigurationExtension(cliapp.Application):
s = len(base)
nw_dst = os.path.join(dest, new + base[st:s-fi-4])
shutil.copy(key, nw_dst + '.pub')
- os.chmod(nw_dst, 0644)
+ os.chmod(nw_dst + '.pub', 0644)
def comb_auth_key(self, keys, dest):
'''Combines authorized_keys file in new VM'''