Use /etc/os-net-config/element_config.json

Change-Id: I93b9d2f6c13de739a32decefe3bc785be795839f
Related-bug: #1695091
This commit is contained in:
Dan Prince 2017-06-01 17:07:45 -04:00
parent 17f835b487
commit 45e8bde2e6
3 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Install, configure, and (optionally) run os-net-config.
Installs os-net-config and configures a JSON formatted config file
at /etc/os-net-config/config.json. The os-net-config command
at /etc/os-net-config/element\_config.json. The os-net-config command
is only executed if configuration metadata is provided.
Configuration

View File

@ -100,7 +100,7 @@ NET_CONFIG=$(os-apply-config --key os_net_config --type raw --key-default '')
if [ -n "$NET_CONFIG" ]; then
trap configure_safe_defaults EXIT
os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
os-net-config -c /etc/os-net-config/element_config.json -v --detailed-exit-codes
RETVAL=$?
if [[ $RETVAL == 2 ]]; then
ping_metadata_ip