summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
index cf61be3c..c9972b54 100644
--- a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
+++ b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
@@ -58,7 +58,7 @@ parse_kernel_command_line() {
fi
# Bridged mode?
- grep -qE '\s+bridged\s+' /proc/cmdline && declare -rg BRIDGED="y"
+ grep -wqE 'bridged' /proc/cmdline && declare -rg BRIDGED="y"
}
# Dumps the parsed IP configuration to /run/openslx/pxe-network.conf