fix exec path
Change-Id: I6f5aa3f98660cc139ec1da7a84fabaa9dcf5cb41
This commit is contained in:
parent
16d52b3158
commit
7abb3f7233
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
|
|
||||||
if [ "$#" -ne 7 ]; then
|
if [ "$#" -ne 7 ]; then
|
||||||
echo "Usage: $0 <management interface> <management ip> <uplinks> <all used interfaces> <bridges' ip> <fuel_deployment_id> <bcf_version>" >&2
|
echo "Usage: $0 <management interface> <management ip> <uplinks> <all used interfaces> <bridges' ip> <fuel_deployment_id> <bcf_version>" >&2
|
||||||
|
|
|
@ -98,7 +98,7 @@ class bcf::p_v::compute {
|
||||||
}
|
}
|
||||||
exec { 'clean up ovs bridges':
|
exec { 'clean up ovs bridges':
|
||||||
command => "bash /etc/bigswitch/bridge-cleanup.sh ${bridge_list} ${bcf::bond_name}",
|
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,
|
logoutput => true,
|
||||||
require => File['/etc/bigswitch/bridge-cleanup.sh']
|
require => File['/etc/bigswitch/bridge-cleanup.sh']
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ class bcf::p_v::compute {
|
||||||
}
|
}
|
||||||
exec { 'set up ivs':
|
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}",
|
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,
|
logoutput => true,
|
||||||
require => File['/etc/bigswitch/ivs-setup.sh']
|
require => File['/etc/bigswitch/ivs-setup.sh']
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue