deployment: support rollout of ngcp-bootenv-carrier on mgmt systems

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 13 years ago
parent 77f8b20a9b
commit 3150e3864f

@ -1131,11 +1131,22 @@ EOF
adjust_hb_device adjust_hb_device
fi fi
if [ -n "$CROLE" ] ; then
case $CROLE in
mgmt)
echo "Carrier role mgmt identified, installing ngcp-bootenv-carrier"
logit "Carrier role mgmt identified, installing ngcp-bootenv-carrier"
chroot $TARGET apt-get -y install ngcp-bootenv-carrier
;;
esac
fi
# make sure all services are stopped # make sure all services are stopped
for service in \ for service in \
apache2 \ apache2 \
asterisk \ asterisk \
collectd \ collectd \
dnsmasq \
exim4 \ exim4 \
irqbalance \ irqbalance \
kamailio-lb \ kamailio-lb \
@ -1143,6 +1154,7 @@ EOF
mediator \ mediator \
monit \ monit \
mysql \ mysql \
nfs-kernel-server \
ngcp-mediaproxy-ng-daemon \ ngcp-mediaproxy-ng-daemon \
ngcp-rate-o-mat \ ngcp-rate-o-mat \
ntp \ ntp \

Loading…
Cancel
Save