Browse code

Merge "BUG Fix: add sudo to run command arping"

Zuul authored on 2018/08/13 11:57:35
Showing 1 changed files
... ...
@@ -633,7 +633,7 @@ function _move_neutron_addresses_route {
633 633
             IP_UP="sudo ip link set $to_intf up"
634 634
             if [[ "$af" == "inet" ]]; then
635 635
                 IP=$(echo $IP_BRD | awk '{ print $1; exit }' | grep -o -E '(.*)/' | cut -d "/" -f1)
636
-                ARP_CMD="arping -A -c 3 -w 4.5 -I $to_intf $IP "
636
+                ARP_CMD="sudo arping -A -c 3 -w 4.5 -I $to_intf $IP "
637 637
             fi
638 638
         fi
639 639