Skip to content

Commit 548501c

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

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
@@ -130,6 +130,7 @@ in
130130
description = "Setup MicroVM '%i' TAP interfaces";
131131
before = [ "microvm@%i.service" ];
132132
partOf = [ "microvm@%i.service" ];
133+
after = [ "network.target" ];
133134
unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/tap-up";
134135
restartIfChanged = false;
135136
serviceConfig = {

0 commit comments

Comments
 (0)