From 6382e16014af0e33e33c2e8bdd4fc52fe18c195c Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Mon, 5 Jan 2015 15:18:02 -0500 Subject: [PATCH] google-compute-image.nix: unconditionally clean up /root/key.pub /root/authorized-keys-metadata --- nixos/modules/virtualisation/google-compute-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index 808b6450182..287081be01b 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -150,8 +150,8 @@ in echo "new key added to authorized_keys" fi chmod 600 /root/.ssh/authorized_keys - rm -f /root/key.pub /root/authorized-keys-metadata fi + rm -f /root/key.pub /root/authorized-keys-metadata fi echo "obtaining SSH private host key..."