summaryrefslogtreecommitdiffstats
path: root/vagrant-demo/scripts/host2-cfg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant-demo/scripts/host2-cfg.sh')
-rwxr-xr-xvagrant-demo/scripts/host2-cfg.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/vagrant-demo/scripts/host2-cfg.sh b/vagrant-demo/scripts/host2-cfg.sh
deleted file mode 100755
index 92a663ffc..000000000
--- a/vagrant-demo/scripts/host2-cfg.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/bash
-#
-# Script to configure host2.
-#
-# Copyright (c) 2016 Cisco Systems, Inc. and/or others. All rights reserved.
-
-if [ "$(id -un)" != "vagrant" ] || [ "$VM_NAME" != "(host2)" ]; then
- echo "ERROR: Must be run inside the vpp1 vagrant VM!"
- exit 1
-fi
-
-HOST1_IP_ADDR="172.16.10.11"
-HOST2_IP_ADDR="172.16.10.12"
-echo
-echo "Configuring eth1 with $HOST2_IP_ADDR"
-sudo ifconfig eth1 $HOST2_IP_ADDR/24 up
-echo
-echo "ifconfig eth1:"
-ifconfig eth1
-echo
-echo "Run the following command to ping host1:"
-echo " ping $HOST1_IP_ADDR"
-echo