Skip to content

Commit

Permalink
barf if pulling the ssh host keys fails
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineChikhaoui authored and rbvermaa committed May 3, 2018
1 parent 3a48839 commit 3a2ad3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/virtualisation/google-compute-image.nix
Expand Up @@ -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
'';
Expand Down

0 comments on commit 3a2ad3e

Please sign in to comment.