From 591a1c4327c0793b4a15443f9e72b79ffbeaa226 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 3 Sep 2015 15:44:30 -0400 Subject: Fixes bug in looking for interfaces Issue where the wrong field was being used for finding interfaces. JIRA: APEX-11 Change-Id: I94635837c73acd0d271dbc9d0474dc5ba688ff10 Signed-off-by: Tim Rozet --- foreman/ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foreman/ci/deploy.sh') 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 -- cgit 1.2.3-korg