diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2018-06-04 11:38:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 11:38:07 +0200 |
commit | 19332e4d527e0cc8ae98923126217cc7c9fba0b1 (patch) | |
tree | 75e249f3357ceba6b28cce960810b0d37e6b932c /nixos/modules/virtualisation | |
parent | e5dedc5f3b5a4b3473f635c946d2f241ea53c79a (diff) | |
parent | 1398d0c3128323f02e4e380c64bf817823a278c6 (diff) |
Merge pull request #41311 from AmineChikhaoui/fix-gce-fetch-ssh
GCE image: properly remove the temporary ssh host keys files/directory
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/google-compute-image.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index 374a84332357a..de2c43b8a40ad 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -257,7 +257,7 @@ in echo "Setup of ssh host keys from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ failed." false fi - rm -f $SSH_HOST_KEYS_DIR + rm -rf $SSH_HOST_KEYS_DIR ''; serviceConfig.Type = "oneshot"; serviceConfig.RemainAfterExit = true; |