nixos/colony: Fix estuary waiting for ConnectX-2

This commit is contained in:
Jack O'Sullivan 2022-10-07 20:26:23 +01:00
parent fcc99a92e9
commit 176e603f19

View File

@ -75,14 +75,14 @@
}; };
services = { services = {
"vm@estuary" = #"vm@estuary" =
let #let
vtapUnit = "sys-subsystem-net-devices-vm\\x2dwan10g.device"; # vtapUnit = "sys-subsystem-net-devices-vm\\x2dwan10g.device";
in #in
{ #{
requires = [ vtapUnit ]; # requires = [ vtapUnit ];
after = [ vtapUnit ]; # after = [ vtapUnit ];
}; #};
}; };
}; };
@ -136,7 +136,7 @@
networks.vms.mac = "52:54:00:27:3d:5c"; networks.vms.mac = "52:54:00:27:3d:5c";
cleanShutdown.timeout = 120; cleanShutdown.timeout = 120;
drives = [ ] ++ (optionals (!config.my.build.isDevVM) [ drives = [ ] ++ (optionals (!config.my.build.isDevVM) [
(vmLVM "shill" "esp") (mkMerge [ (vmLVM "shill" "esp") { frontendOpts.bootindex = 0; } ])
(vmLVM "shill" "nix") (vmLVM "shill" "nix")
(vmLVM "shill" "persist") (vmLVM "shill" "persist")
{ {