Browse Source

Merge "Fix sed in run-os-net-config to only replace values, not keys" into stable/rocky

changes/04/705604/1
Zuul Gerrit Code Review 3 weeks ago
parent
commit
707613d788
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      network/scripts/run-os-net-config.sh

+ 1
- 1
network/scripts/run-os-net-config.sh View File

@@ -129,7 +129,7 @@ if [ -n '$network_config' ]; then
network_config_hook
fi

sed -i "s/bridge_name/${bridge_name:-''}/" /etc/os-net-config/config.json
sed -i "s/: \"bridge_name/: \"${bridge_name:-''}/" /etc/os-net-config/config.json
sed -i "s/interface_name/${interface_name:-''}/" /etc/os-net-config/config.json

set +e


Loading…
Cancel
Save