From 9dcc8ce5f46b5a5340581538015327ff399d86c7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 20 Apr 2023 00:55:27 +0200 Subject: [PATCH] SELECTED_NETWORK --- run/network.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run/network.sh b/run/network.sh index a620d8b..e10dbfc 100644 --- a/run/network.sh +++ b/run/network.sh @@ -187,6 +187,8 @@ configureNetworks () { # If this env variable is not set, the IP to be given to the VM is # the first in the list for that interface (default behaviour). + SELECTED_NETWORK="" + if ! [[ -z "$SELECTED_NETWORK" ]]; then local given_ip given_mask IFS=/ read given_ip given_mask <<< $SELECTED_NETWORK