From 681f4457c433ac29cd5b7167da9fd1665663c077 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 14 Nov 2012 12:50:48 +0000 Subject: [PATCH] deployment: configure eth0 on sp2 system during deployment This should give us a full-fledged network.yml as eth0 of the 2nd system is the only missing NIC during deployment. Testing! From: Michael Prokop --- deployment.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index df70c32..c85048a 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1287,11 +1287,13 @@ if "$PRO_EDITION" ; then cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml - ngcpcfg commit 'deployed /etc/ngcp-config/network.yml' + ngcpcfg commit "deployed /etc/ngcp-config/network.yml on $ROLE" ngcpcfg build ngcpcfg push --shared-only else # ROLE = sp2 ngcpcfg pull + ngcp-network --host=$THIS_HOST --set-interface=$DEFAULT_INSTALL_DEV --ip=auto --netmask=auto --hwaddr=auto + ngcpcfg commit "deployed /etc/ngcp-config/network.yml on $ROLE" ngcpcfg push --shared-only ngcpcfg build fi