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"
|
echo "new key added to authorized_keys"
|
||||||
fi
|
fi
|
||||||
chmod 600 /root/.ssh/authorized_keys
|
chmod 600 /root/.ssh/authorized_keys
|
||||||
rm -f /root/key.pub /root/authorized-keys-metadata
|
|
||||||
fi
|
fi
|
||||||
|
rm -f /root/key.pub /root/authorized-keys-metadata
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "obtaining SSH private host key..."
|
echo "obtaining SSH private host key..."
|
||||||
|
|
Loading…
Reference in New Issue