From fde0451d69be04aac981872b8616665978df1fcb Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 17 Oct 2012 21:22:22 +0000 Subject: [PATCH] deployment: explicitely set hostname in ngcp-network From: Michael Prokop --- deployment.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment.sh b/deployment.sh index ccfcec9..e262a6e 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1183,12 +1183,12 @@ if "$PRO_EDITION" ; then cp /etc/ngcp-config/network.yml /etc/ngcp-config/network.yml.factory_default - ngcp-network --set-interface=lo --set-interface=$DEFAULT_INSTALL_DEV --set-interface=$INTERNAL_DEV - ngcp-network --peer=$PEER + ngcp-network --host=$ROLE --set-interface=lo --set-interface=$DEFAULT_INSTALL_DEV --set-interface=$INTERNAL_DEV + ngcp-network --host=$ROLE --peer=$PEER ngcp-network --host=$PEER --peer=$ROLE --set-interface=lo - ngcp-network --set-interface=$INTERNAL_DEV - ngcp-network --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int - ngcp-network --set-interface=eth1 --host=$PEER --ip=$DEFAULT_IP2 --netmask=$DEFAULT_INTERNAL_NETMASK --type=ha_int + ngcp-network --host=$ROLE --set-interface=$INTERNAL_DEV + ngcp-network --host=$ROLE --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int + ngcp-network --host=$ROLE --set-interface=eth1 --host=$PEER --ip=$DEFAULT_IP2 --netmask=$DEFAULT_INTERNAL_NETMASK --type=ha_int cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml