X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=foreman%2Fci%2Fdeploy.sh;h=3a6f8cdb14e3760fe9c29f49f68eb6b9ff82242e;hb=cf15cf80302559a1647d243187240cfca1efaad2;hp=4c0bf10b174fc25e2eee6b1b558a6e9952ff7451;hpb=468645126694c1b03328db72a8cde1862d4b09f7;p=genesis.git diff --git a/foreman/ci/deploy.sh b/foreman/ci/deploy.sh index 4c0bf10..3a6f8cd 100755 --- a/foreman/ci/deploy.sh +++ b/foreman/ci/deploy.sh @@ -511,7 +511,8 @@ 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 " " -f10` + #output=`/bin/ls -l /sys/class/net | tail -n +2 | grep -v virtual | cut -d " " -f10` + output=`/bin/ls -l /sys/class/net | tail -n +2 | grep -v virtual | awk {'print $9'}` fi if [ ! "$output" ]; then