barf if pulling the ssh host keys fails
This commit is contained in:
parent
4a86f8c9ab
commit
f514a68969
@ -255,6 +255,7 @@ in
|
|||||||
chmod 644 /etc/ssh/ssh_host_ed25519_key.pub
|
chmod 644 /etc/ssh/ssh_host_ed25519_key.pub
|
||||||
else
|
else
|
||||||
echo "Setup of ssh host keys from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ failed."
|
echo "Setup of ssh host keys from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ failed."
|
||||||
|
false
|
||||||
fi
|
fi
|
||||||
rm -f $SSH_HOST_KEYS_DIR
|
rm -f $SSH_HOST_KEYS_DIR
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user