Fix logic when pro edition is being used.

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 14 years ago
parent 6073d24b47
commit dc35303b45

@ -105,6 +105,15 @@ if dmidecode| grep -q 'Location In Chassis'; then
PRO_EDITION=true
fi
if checkBootParam ngcpinst || checkBootParam ngcpsp1 || checkBootParam ngcpsp2 || \
checkBootParam ngcppro ; then
NGCP_INSTALLER=true
fi
if checkBootParam ngcppro || checkBootParam ngcpsp1 || checkBootParam ngcpsp2 ; then
PRO_EDITION=true
fi
if "$PRO_EDITION" ; then
ROLE=sp1
@ -118,11 +127,6 @@ if checkBootParam nongcp ; then
NGCP_INSTALLER=false
fi
if checkBootParam ngcpinst || checkBootParam ngcpsp1 || checkBootParam ngcpsp2 || \
checkBootParam ngcppro ; then
NGCP_INSTALLER=true
fi
# configure static network in installed system?
if checkBootParam ngcpnw.dhcp ; then
export DHCP=true

Loading…
Cancel
Save