|
|
|
|
@ -43,6 +43,7 @@ LOGO=true
|
|
|
|
|
BONDING=false
|
|
|
|
|
VLAN=false
|
|
|
|
|
VLANID=''
|
|
|
|
|
VLANIF=''
|
|
|
|
|
RETRIEVE_MGMT_CONFIG=false
|
|
|
|
|
LINUX_HA3=false
|
|
|
|
|
TRUNK_VERSION=false
|
|
|
|
|
@ -225,9 +226,13 @@ if checkBootParam ngcpbonding ; then
|
|
|
|
|
BONDING=true
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if checkBootParam ngcpvlan ; then
|
|
|
|
|
VLAN=true
|
|
|
|
|
VLANID=$(getBootParam ngcpvlan)
|
|
|
|
|
if checkBootParam vlan ; then
|
|
|
|
|
VLANPARAMS=($(getBootParam vlan | tr ":" "\n"))
|
|
|
|
|
if [ ${#VLANPARAMS[@]} -eq 2 ] ; then
|
|
|
|
|
VLAN=true
|
|
|
|
|
VLANID=${VLANPARAMS[0]}
|
|
|
|
|
VLANIF=${VLANPARAMS[1]}
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if checkBootParam ngcpmgmt ; then
|
|
|
|
|
@ -1423,8 +1428,9 @@ EOF
|
|
|
|
|
mysql \
|
|
|
|
|
nfs-kernel-server \
|
|
|
|
|
ngcp-mediaproxy-ng-daemon \
|
|
|
|
|
ngcp-rtpengine-daemon \
|
|
|
|
|
ngcp-rate-o-mat \
|
|
|
|
|
ngcp-rtpengine-daemon \
|
|
|
|
|
ngcp-sems \
|
|
|
|
|
ntp \
|
|
|
|
|
rsyslog \
|
|
|
|
|
sems ; \
|
|
|
|
|
@ -1624,7 +1630,7 @@ iface vlan${VLANID} inet static
|
|
|
|
|
netmask $(ifdata -pn $EXTERNAL_DEV)
|
|
|
|
|
gateway $(route -n | awk '/^0\.0\.0\.0/{print $2; exit}')
|
|
|
|
|
dns-nameservers $(awk '/^nameserver/ {print $2}' /etc/resolv.conf | xargs echo -n)
|
|
|
|
|
vlan-raw-device $EXTERNAL_DEV
|
|
|
|
|
vlan-raw-device $VLANIF
|
|
|
|
|
|
|
|
|
|
auto $INTERNAL_DEV
|
|
|
|
|
iface $INTERNAL_DEV inet static
|
|
|
|
|
|