diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-04-28 17:07:54 +0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-04-28 17:07:54 +0100 |
commit | f514a6896919f090cd811ebd9866ace1bb4b2b54 (patch) | |
tree | 13221e3bddd82ce5e2d1545689fdcd59e0ef3ed3 /nixos/modules/virtualisation/google-compute-image.nix | |
parent | 4a86f8c9abd99b880b8a9c3609d330c7ff398ad5 (diff) |
barf if pulling the ssh host keys fails
Diffstat (limited to 'nixos/modules/virtualisation/google-compute-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/google-compute-image.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index f175be673bad..374a84332357 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -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 ''; |