hack: grab only 192 ip for vagrant
Change-Id: I3f952492c9a88f198fe3b24e212fbf7ea527dd1f
This commit is contained in:
parent
c794f1668d
commit
e7e6cd11ba
@ -6,9 +6,9 @@ set -xe
|
||||
vagrant up
|
||||
|
||||
# Grab all the IP addresses
|
||||
MASTER_IP=$(vagrant ssh master -c "hostname -I" 2>/dev/null | xargs echo -n)
|
||||
MINION_1_IP=$(vagrant ssh minion-1 -c "hostname -I" 2>/dev/null | xargs echo -n)
|
||||
MINION_2_IP=$(vagrant ssh minion-2 -c "hostname -I" 2>/dev/null | xargs echo -n)
|
||||
MASTER_IP=$(vagrant ssh master -c "hostname -I | cut -d' ' -f1" 2>/dev/null | xargs echo -n)
|
||||
MINION_1_IP=$(vagrant ssh minion-1 -c "hostname -I | cut -d' ' -f1" 2>/dev/null | xargs echo -n)
|
||||
MINION_2_IP=$(vagrant ssh minion-2 -c "hostname -I | cut -d' ' -f1" 2>/dev/null | xargs echo -n)
|
||||
|
||||
# Start up an SSH agent
|
||||
eval `ssh-agent -s`
|
||||
|
Loading…
x
Reference in New Issue
Block a user