google-compute-image.nix: unconditionally clean up /root/key.pub /root/authorized-keys-metadata
This commit is contained in:
parent
b19ab1f046
commit
6382e16014
|
@ -150,8 +150,8 @@ in
|
|||
echo "new key added to authorized_keys"
|
||||
fi
|
||||
chmod 600 /root/.ssh/authorized_keys
|
||||
rm -f /root/key.pub /root/authorized-keys-metadata
|
||||
fi
|
||||
rm -f /root/key.pub /root/authorized-keys-metadata
|
||||
fi
|
||||
|
||||
echo "obtaining SSH private host key..."
|
||||
|
|
Loading…
Reference in New Issue