Merge pull request #41311 from AmineChikhaoui/fix-gce-fetch-ssh
GCE image: properly remove the temporary ssh host keys files/directory
commit19332e4d527e0cc8ae98923126217cc7c9fba0b1
authorRob Vermaas <rob.vermaas@gmail.com>
dateMon 4 Jun 2018, 11:38 (8 years ago)
parente5dedc51398d0c
nixos/modules/virtualisation/google-compute-image.nix+1−1
@@ -257,7 +257,7 @@ in
257257 echo "Setup of ssh host keys from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ failed."
258258 false
259259 fi
260− rm -f $SSH_HOST_KEYS_DIR
260+ rm -rf $SSH_HOST_KEYS_DIR
261261 '';
262262 serviceConfig.Type = "oneshot";
263263 serviceConfig.RemainAfterExit = true;