From: Gary Wu Date: Mon, 18 Dec 2017 18:18:50 +0000 (-0800) Subject: Show trace in get-floating-ip.sh X-Git-Tag: 1.0.1-Amsterdam~38 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f1e3c1d23ec71bb8cf14b4fdd920c748f65aebfe;p=integration.git Show trace in get-floating-ip.sh Change-Id: I8d0a43bd3377f06f7fa58c364f438ab5fc735a13 Issue-ID: INT-278 Signed-off-by: Gary Wu --- diff --git a/test/ete/scripts/get-floating-ip.sh b/test/ete/scripts/get-floating-ip.sh index 55854e73f..004025db2 100755 --- a/test/ete/scripts/get-floating-ip.sh +++ b/test/ete/scripts/get-floating-ip.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -x # Get floating IP assigned to a server name PORT_ID=$(openstack server show -f json $1 | python -c 'import sys, json; print json.load(sys.stdin)["wrs-if:nics"][0]["nic1"]["port_id"]')