From 00f45b6ec971874f7f1d7df9ddcbdaf80e4d170c Mon Sep 17 00:00:00 2001 From: david hill Date: Tue, 17 May 2016 09:49:30 -0500 Subject: [PATCH] update --- oam/cloud/IDBInstanceCmds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oam/cloud/IDBInstanceCmds.sh b/oam/cloud/IDBInstanceCmds.sh index 8a0d68af5..0436bb137 100644 --- a/oam/cloud/IDBInstanceCmds.sh +++ b/oam/cloud/IDBInstanceCmds.sh @@ -259,7 +259,7 @@ getPrivateIP() { if [ "$subnet" == "unassigned" ]; then IpAddr=`head -n 2 /tmp/instanceInfo_$instanceName | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $15}'` else - IpAddr=`head -n 2 /tmp/instanceInfo_$instanceName | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $13}'` + IpAddr=`head -n 2 /tmp/instanceInfo_$instanceName | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $14}'` fi echo $IpAddr