hack: grab only 192 ip for vagrant
Change-Id: I3f952492c9a88f198fe3b24e212fbf7ea527dd1f
This commit is contained in:
@@ -6,9 +6,9 @@ set -xe
|
|||||||
vagrant up
|
vagrant up
|
||||||
|
|
||||||
# Grab all the IP addresses
|
# Grab all the IP addresses
|
||||||
MASTER_IP=$(vagrant ssh master -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" 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" 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
|
# Start up an SSH agent
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
|
Reference in New Issue
Block a user