X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=foreman%2Fci%2Fdeploy.sh;h=6771da0c1243da598ee3ee1a9a5b07415d4cd61a;hb=591a1c4327c0793b4a15443f9e72b79ffbeaa226;hp=dcead8b1398f06969467b5a9c696c84f5c8c6dd1;hpb=2b551f29f886a28e609203063418ffeabfe86127;p=genesis.git diff --git a/foreman/ci/deploy.sh b/foreman/ci/deploy.sh index dcead8b..6771da0 100755 --- a/foreman/ci/deploy.sh +++ b/foreman/ci/deploy.sh @@ -509,7 +509,7 @@ configure_network() { echo "${blue}Detecting network configuration...${reset}" ##detect host 1 or 3 interface configuration #output=`ip link show | grep -E "^[0-9]" | grep -Ev ": lo|tun|virbr|vboxnet" | awk '{print $2}' | sed 's/://'` - output=`/bin/ls -l /sys/class/net | tail -n +2 | grep -v virtual | cut -d " " -f9` + output=`/bin/ls -l /sys/class/net | tail -n +2 | grep -v virtual | cut -d " " -f10` fi if [ ! "$output" ]; then