From e02e495257a90e58262b66df764235fe752d67d3 Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Thu, 10 Sep 2020 00:05:32 +0200 Subject: [PATCH] bridge executor: Add depend phase Signed-off-by: Maximilian Wilhelm --- executor-scripts/linux/bridge | 3 +++ 1 file changed, 3 insertions(+) diff --git a/executor-scripts/linux/bridge b/executor-scripts/linux/bridge index 144b75f..5d92061 100755 --- a/executor-scripts/linux/bridge +++ b/executor-scripts/linux/bridge @@ -135,6 +135,9 @@ esac [ -z "$PORTS" ] && ! env | grep -q "^IF_BRIDGE" && exit case "$PHASE" in +depend) + echo "$PORTS" + ;; create) if [ ! -d "/sys/class/net/${IFACE}" ]; then brctl addbr "${IFACE}"