summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_virtlet/host_setup.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-11-12 13:59:25 -0500
committerGuo Ruijing <ruijing.guo@intel.com>2017-11-12 17:53:38 -0500
commit9f336c13e77998f09f57cec763e9508bc0062002 (patch)
treeae24d5a1673cf16ce068c8021d8c1825caf6c29e /src/vagrant/kubeadm_virtlet/host_setup.sh
parentc3b994bd12c09311cff459dbb18f64bf1d1eabab (diff)
update container4nfv deployment
1. use opnfv/container4nfv vagrant box to reduce installation time 2. reduce installation timeout 3. use same ip address for all deployment Change-Id: I0849590ada214f182c75bcdc9e72cb26dc6f6918 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant/kubeadm_virtlet/host_setup.sh')
-rw-r--r--src/vagrant/kubeadm_virtlet/host_setup.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vagrant/kubeadm_virtlet/host_setup.sh b/src/vagrant/kubeadm_virtlet/host_setup.sh
index d9b68e2..1aad518 100644
--- a/src/vagrant/kubeadm_virtlet/host_setup.sh
+++ b/src/vagrant/kubeadm_virtlet/host_setup.sh
@@ -3,11 +3,11 @@
set -ex
cat << EOF | sudo tee /etc/hosts
-1.8.1.0.1 localhost
-10.96.0.10 master
-10.96.0.21 worker1
-10.96.0.22 worker2
-10.96.0.23 worker3
+127.0.0.1 localhost
+192.168.1.10 master
+192.168.1.21 worker1
+192.168.1.22 worker2
+192.168.1.23 worker3
EOF
curl -s http://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -