diff options
Diffstat (limited to 'charms/trusty/neutron-contrail/scripts/vhost-phys.sh')
-rwxr-xr-x | charms/trusty/neutron-contrail/scripts/vhost-phys.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/charms/trusty/neutron-contrail/scripts/vhost-phys.sh b/charms/trusty/neutron-contrail/scripts/vhost-phys.sh deleted file mode 100755 index 6565d1c..0000000 --- a/charms/trusty/neutron-contrail/scripts/vhost-phys.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -e -# -# Script used to determine physical interface of vhost0 - -mac=$(cat /sys/class/net/vhost0/address) -vif --list | awk -v mac=$mac 'BEGIN { RS="\n\n" }; $3 != "vhost0" && $0 ~ "HWaddr:" mac { print $3; exit 0 }' |