@@ -31,8 +31,6 @@ with lib;
3131
3232 script =
3333 ''
34− ip route del blackhole 169.254.169.254/32 || true
35−
3634 wget="wget -q --retry-connrefused -O -"
3735
3836 ${optionalString (config.networking.hostName == "") ''
@@ -67,14 +65,6 @@ with lib;
6765 (umask 077; echo "$key" > /etc/ssh/ssh_host_dsa_key)
6866 echo "$key_pub" > /etc/ssh/ssh_host_dsa_key.pub
6967 fi
70−
71− ${optionalString (! config.ec2.metadata) ''
72− # Since the user data is sensitive, prevent it from
73− # being accessed from now on. FIXME: remove at some
74− # point, since current NixOps no longer relies on
75− # metadata secrecy.
76− ip route add blackhole 169.254.169.254/32
77− ''}
7868 '';
7969
8070 serviceConfig.Type = "oneshot";