Browse code

Show ip address before associating address

In order to see is the instance has a fixed ip at the moment.

Change-Id: I506f2f099a03e8b63f1f2daeb564ed72f1322a68

Attila Fazekas authored on 2013/08/06 22:25:01
Showing 1 changed files
... ...
@@ -129,7 +129,8 @@ else
129 129
     # Allocate floating address
130 130
     FLOATING_IP=`euca-allocate-address | cut -f2`
131 131
     die_if_not_set $LINENO FLOATING_IP "Failure allocating floating IP"
132
-
132
+    # describe all instances at this moment
133
+    euca-describe-instances
133 134
     # Associate floating address
134 135
     euca-associate-address -i $INSTANCE $FLOATING_IP || \
135 136
         die $LINENO "Failure associating address $FLOATING_IP to $INSTANCE"