From 6b958074d33270659b37b283dc312c7b5848ff80 Mon Sep 17 00:00:00 2001 From: Alex Ruiz Estradera Date: Mon, 28 Nov 2016 10:25:26 +0100 Subject: [PATCH] Add /bin path to command for interface up Change-Id: I1fc3245b404ac4a9883cc68875d4e65632449819 --- manifests/resources/interface_up.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/resources/interface_up.pp b/manifests/resources/interface_up.pp index ab22291..9818548 100644 --- a/manifests/resources/interface_up.pp +++ b/manifests/resources/interface_up.pp @@ -9,7 +9,7 @@ define midonet::resources::interface_up( ) { exec { 'bring_interface_up': - path => '/usr/bin:/usr/sbin:/sbin', + path => '/usr/bin:/usr/sbin:/sbin:/bin', command => "ip link set dev $(ip -o link | grep ${mac_address} | awk '{print \$2}' | tr -d ':') up", onlyif => "ip -o link | grep ${mac_address} | grep 'state DOWN'" }