summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-05-11 11:52:08 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-05-11 10:12:08 +0000
commit5becfff224002673ff107357d19350b553ca9916 (patch)
tree42815eebe4471027d7a191ad90ca2f5b4cd321b0
parentbeeca3a0cd57e82e08b004b94723576642be1087 (diff)
Specify the field id in neutron arguments
It fixes the parsing error when 2 subnets are created on a specific network. Change-Id: I46154a65d0e916387faea5b506ae6a93240c6726 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rwxr-xr-xci/check_os.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/check_os.sh b/ci/check_os.sh
index bb1335306..c9e0b5136 100755
--- a/ci/check_os.sh
+++ b/ci/check_os.sh
@@ -72,7 +72,7 @@ done
echo "OpenStack services are OK."
echo "Checking External network..."
-networks=($(neutron net-list | tail -n +4 | head -n -1 | awk '{print $2}'))
+networks=($(neutron net-list -F id | tail -n +4 | head -n -1 | awk '{print $2}'))
is_external=False
for net in "${networks[@]}"
do