diff options
author | Tim Rozet <trozet@redhat.com> | 2015-09-03 15:44:30 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2015-09-03 15:44:30 -0400 |
commit | 591a1c4327c0793b4a15443f9e72b79ffbeaa226 (patch) | |
tree | 0970daa3d2c30f93fe6aa40cfbfb63549e5182d6 /foreman/ci | |
parent | 2b551f29f886a28e609203063418ffeabfe86127 (diff) |
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 <trozet@redhat.com>
Diffstat (limited to 'foreman/ci')
-rwxr-xr-x | foreman/ci/deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |