barf if pulling the ssh host keys fails

This commit is contained in:
AmineChikhaoui 2018-04-28 17:07:54 +01:00
parent 4a86f8c9ab
commit f514a68969
No known key found for this signature in database
GPG key ID: C0C8C84C15BCCD1C

View file

@ -255,6 +255,7 @@ in
chmod 644 /etc/ssh/ssh_host_ed25519_key.pub
else
echo "Setup of ssh host keys from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ failed."
false
fi
rm -f $SSH_HOST_KEYS_DIR
'';