Last active
July 28, 2017 14:20
-
-
Save rahulroshan96/a30d81f7bedc014ed119f4d54c1f9fc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://s3-us-west-2.amazonaws.com/avi-tmp-cus/multi_az_docker_install.tar.gz -O /home/aviuser/docker_install.tar.gz | |
cd /home/aviuser/ | |
tar -xvf /home/aviuser/docker_install.tar.gz | |
ip=`ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1` | |
echo $1 $2 | |
wget https://s3-us-west-2.amazonaws.com/avi-full-access/setup_avi.json -O /home/aviuser/setup_avi.json | |
sed -e "s/1.1.1.1/$1/" -e "s/2.2.2.2/$2/" /home/aviuser/setup_avi.json > /home/aviuser/setup_avi1.json | |
sudo ./avi_baremetal_setup.py -i $ip -c -cc 4 -cm 12 -m $ip --setup /home/aviuser/setup_avi1.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment