Commit 988c5a98 authored by Binh Nguyen's avatar Binh Nguyen

Fix

parent b825a53b
......@@ -3,11 +3,17 @@
source ../simeca_constants.sh
#Replace hostname
sudo ./replace_hostname.sh
if [ ! -f /tmp/HOST_REPLACED ]; then
./replace_hostname.sh
fi
#Clean up ip route
sudo ./set_ip.sh
if [ ! -f /tmp/SETIP ]; then
./set_ip.sh
fi
#
#Start components for ATT-demo.
......
#!/bin/bash
hn=$(hostname) ;
sudo sed -i "s/.*127.0.0.1.*/127.0.0.1 localhost loghost $hn/" /etc/hosts
......@@ -8,3 +8,5 @@ do
echo "Replacing hostname of host $i"
ssh -o StrictHostKeyChecking=no $i.$domain "/usr/local/src/simeca/SCRIPTS/replace_host_local.sh"
done
touch /tmp/HOST_REPLACED
......@@ -8,3 +8,5 @@ done
cd /usr/local/src/simeca/SCRIPTS
sudo ./set_ip_mme.sh
touch /tmp/SETIP
......@@ -20,4 +20,4 @@ HSS_PROVISION="$SIMECA_PATH/hss_provision"
EPC="$SIMECA_PATH/epc"
XML="$SIMECA_PATH/xml"
DATA="$SIMECA_PATH/data"
HOSTS="client1 enb2 enb3 epc access1 access2 access3 tor hsw1 server1"
HOSTS="enb2 enb3 epc access1 access2 access3 tor hsw1 server1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment