MT#11063 Sync with bootenv: skip setting INTERVAL_DEV interface when ngcpmgmt and ngcpnonwrecfg is not set

This will be set with the results of the query to ngcpcfg-api

Change-Id: If1ae3d58faf28dc58ec5e473787e26a416c4a59e
changes/11/811/1
Victor Seva 10 years ago
parent deaf0a2add
commit 99c90d784d

@ -851,13 +851,16 @@ if "$LOGO" ; then
fi fi
if "$PRO_EDITION" ; then if "$PRO_EDITION" ; then
if "$RETRIEVE_MGMT_CONFIG" && "$RESTART_NETWORK" ; then
echo "Skipping $INTERNAL_DEV config"
else
# internal network (default on eth1) # internal network (default on eth1)
if ifconfig "$INTERNAL_DEV" &>/dev/null ; then if ifconfig "$INTERNAL_DEV" &>/dev/null ; then
ifconfig "$INTERNAL_DEV" $INTERNAL_IP netmask $INTERNAL_NETMASK ifconfig "$INTERNAL_DEV" $INTERNAL_IP netmask $INTERNAL_NETMASK
else else
die "Error: no $INTERNAL_DEV NIC found, can not deploy internal network. Exiting." die "Error: no $INTERNAL_DEV NIC found, can not deploy internal network. Exiting."
fi fi
fi
# ipmi on IBM hardware # ipmi on IBM hardware
if ifconfig usb0 &>/dev/null ; then if ifconfig usb0 &>/dev/null ; then
ifconfig usb0 169.254.1.102 netmask 255.255.0.0 ifconfig usb0 169.254.1.102 netmask 255.255.0.0

Loading…
Cancel
Save