Skip to content

Commit b333c4a

Browse files
committed
tap-up: execute after network.target
required bridge devices may not exists until `network.target` is reached
1 parent 0a5cda8 commit b333c4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nixos-modules/host/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ in
132132
description = "Setup MicroVM '%i' TAP interfaces";
133133
before = [ "microvm@%i.service" ];
134134
partOf = [ "microvm@%i.service" ];
135+
after = [ "network.target" ];
135136
unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/tap-up";
136137
restartIfChanged = false;
137138
serviceConfig = {

0 commit comments

Comments
 (0)