about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2015-05-07 08:50:47 +0000
committerRob Vermaas <rob.vermaas@gmail.com>2015-05-07 08:51:38 +0000
commit650d3f8fc4e49d6caed46b8f6db077e634682bd6 (patch)
tree4143731a5f7b9634f545e54b3187c9d48382bfeb /nixos/modules/virtualisation
parent10bb715c077ced71defbd4318cebe77b64b7a279 (diff)
Revert restartIfChanged on fetch-ec2-data, as it breaks deployments that set ec2.metadata = true, as the existing (default) blackhole will not be cleared.
(cherry picked from commit ccf672ca6b055e5e862e45b65d122754c16cf7d1)
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/ec2-data.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/ec2-data.nix b/nixos/modules/virtualisation/ec2-data.nix
index b21c6bfbc0be5..fd062237bb074 100644
--- a/nixos/modules/virtualisation/ec2-data.nix
+++ b/nixos/modules/virtualisation/ec2-data.nix
@@ -79,8 +79,6 @@ with lib;
 
         serviceConfig.Type = "oneshot";
         serviceConfig.RemainAfterExit = true;
-
-        restartIfChanged = false;
       };
 
     systemd.services."print-host-key" =