Make static-net-config.nix usable outside of nixops.
Rob Vermaas committed
Aug 19, 2014 at 15:01 UTC
153492fcfb42000654b8edd83e1ce43747fc20c7
1 file changed
+1
-1
delft/static-net-config.nix
+1
-1
@@ -6,7 +6,7 @@ let
6
7
machines = import ./machines.nix pkgs.lib;
8
9
- machine = findSingle (m: m.hostName == config.deployment.targetHost) {} {} machines;
9
+ machine = findSingle (m: m.hostName == config.deployment.targetHost or "") {} {} machines;
10
11
iface = "enx" + replaceChars [":"] [""] machine.ethernetAddress;
12