Fix bug for Permission denied
Permission denied for creating directory '/etc/neutron', here we use root privilege for creating the directory, then set the owner as STACK_USER. Change-Id: I2133d3f92dcec7e3187a6382ded233ac1f36fee7 Closes-Bug: #1595795
This commit is contained in:
parent
9215057be0
commit
1d7155cc0c
@ -38,7 +38,7 @@ function configure_dr_agent_bgp_driver {
|
||||
function dr_install {
|
||||
setup_develop $NEUTRON_DYNAMIC_ROUTING_DIR
|
||||
if is_service_enabled q-dr && is_service_enabled q-svc; then
|
||||
mkdir -v -p $NEUTRON_CONF_DIR/policy.d
|
||||
sudo install -d -o $STACK_USER $NEUTRON_CONF_DIR/policy.d
|
||||
cp -v $NEUTRON_DYNAMIC_ROUTING_DIR/etc/neutron/policy.d/dynamic_routing.conf $NEUTRON_CONF_DIR/policy.d
|
||||
if is_protocol_enabled BGP; then
|
||||
_neutron_service_plugin_class_add $BGP_PLUGIN
|
||||
|
Loading…
Reference in New Issue
Block a user