Show ip address before associating address
In order to see is the instance has a fixed ip at the moment. Change-Id: I506f2f099a03e8b63f1f2daeb564ed72f1322a68
This commit is contained in:
parent
6c84463071
commit
1a794a3d9e
@ -129,7 +129,8 @@ else
|
||||
# Allocate floating address
|
||||
FLOATING_IP=`euca-allocate-address | cut -f2`
|
||||
die_if_not_set $LINENO FLOATING_IP "Failure allocating floating IP"
|
||||
|
||||
# describe all instances at this moment
|
||||
euca-describe-instances
|
||||
# Associate floating address
|
||||
euca-associate-address -i $INSTANCE $FLOATING_IP || \
|
||||
die $LINENO "Failure associating address $FLOATING_IP to $INSTANCE"
|
||||
|
Loading…
Reference in New Issue
Block a user