From: Umar Farooq Date: Mon, 29 May 2017 16:57:16 +0000 (+0000) Subject: Fix run.sh bug for dynamic interfaces X-Git-Tag: opnfv-5.0.RC1~47^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=6442090131eb020d3caba0ac26fedcf13fee9c9a;hp=6442090131eb020d3caba0ac26fedcf13fee9c9a;p=doctor.git Fix run.sh bug for dynamic interfaces The run.sh extracts the name of interface using awk with 7th value in "ip a" command but in case of DHCP enabled interface this value is "dynamic". So the fix takes the last value of the output which is the correct interface name. EDIT: Removed the redundant line to get 5th element. JIRA: DOCTOR-109 Change-Id: I0775d90ef219387e5b68abd4fd98d38d2104f128 Signed-off-by: Umar Farooq ---