diff options
author | Russell O'Connor <oconnorr@google.com> | 2015-01-05 15:18:02 -0500 |
---|---|---|
committer | Russell O'Connor <oconnorr@google.com> | 2015-01-05 15:18:02 -0500 |
commit | 6382e16014af0e33e33c2e8bdd4fc52fe18c195c (patch) | |
tree | 040c3941e117c8f0d1668661842eca65a617d66d /nixos/modules/virtualisation | |
parent | b19ab1f0465ec026cd4f33b08567aeaa9a9e1ed8 (diff) | |
download | nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar.gz nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar.bz2 nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar.lz nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar.xz nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.tar.zst nixlib-6382e16014af0e33e33c2e8bdd4fc52fe18c195c.zip |
google-compute-image.nix: unconditionally clean up /root/key.pub /root/authorized-keys-metadata
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 808b64501829..287081be01b7 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..." |