Skip to content

Commit

Permalink
Merge pull request NixOS#41311 from AmineChikhaoui/fix-gce-fetch-ssh
Browse files Browse the repository at this point in the history
GCE image: properly remove the temporary ssh host keys files/directory
  • Loading branch information
rbvermaa authored Jun 4, 2018
2 parents e5dedc5 + 1398d0c commit 19332e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/google-compute-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 19332e4

Please sign in to comment.