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>
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