fix exec path

Change-Id: I6f5aa3f98660cc139ec1da7a84fabaa9dcf5cb41
This commit is contained in:
Kanzhe Jiang 2016-04-12 09:24:55 -07:00
parent 16d52b3158
commit 7abb3f7233
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -x
if [ "$#" -ne 7 ]; then
echo "Usage: $0 <management interface> <management ip> <uplinks> <all used interfaces> <bridges' ip> <fuel_deployment_id> <bcf_version>" >&2

View File

@ -98,7 +98,7 @@ class bcf::p_v::compute {
}
exec { 'clean up ovs bridges':
command => "bash /etc/bigswitch/bridge-cleanup.sh ${bridge_list} ${bcf::bond_name}",
path => '/sbin:/usr/local/bin/:/usr/bin/:/bin',
path => '/sbin:/usr/sbin/:/usr/local/bin/:/usr/bin/:/bin',
logoutput => true,
require => File['/etc/bigswitch/bridge-cleanup.sh']
}
@ -109,7 +109,7 @@ class bcf::p_v::compute {
}
exec { 'set up ivs':
command => "bash /etc/bigswitch/ivs-setup.sh ${bcf::mgmt_itf} ${mgmt_ip} ${bcf::itfs} ${interfaces} \'${bridge_ips}\' ${bcf::deployment_id} ${bcf::params::openstack::bcf_version}",
path => '/sbin:/usr/local/bin/:/usr/bin/:/bin',
path => '/sbin:/usr/sbin/:/usr/local/bin/:/usr/bin/:/bin',
logoutput => true,
require => File['/etc/bigswitch/ivs-setup.sh']
}