BUG_FIX: policy.d copy over for devstack
For devstack: Content of policy.d should be copied over and not the entire folder, or it creates dup of policy.d and breaks things. Change-Id: I8666d88d04c7a320922edcd4f7b03f588becdbc1 Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
This commit is contained in:
parent
bad6dc68a9
commit
1c0b3c2b8a
@ -127,7 +127,7 @@ function neutron_plugin_configure_common {
|
||||
mkdir -p /$Q_PLUGIN_CONF_PATH
|
||||
cp $DEST/$Q_PLUGIN_SRC_CONF_PATH/nsx.ini.sample /$Q_PLUGIN_CONF_PATH/$Q_PLUGIN_CONF_FILENAME
|
||||
sudo install -d -o $STACK_USER $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d/* $NEUTRON_CONF_DIR/policy.d/
|
||||
Q_PLUGIN_CLASS="vmware_nsxtvd"
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ function neutron_plugin_configure_common {
|
||||
mkdir -p /$Q_PLUGIN_CONF_PATH
|
||||
cp $DEST/$Q_PLUGIN_SRC_CONF_PATH/nsx.ini.sample /$Q_PLUGIN_CONF_PATH/$Q_PLUGIN_CONF_FILENAME
|
||||
sudo install -d -o $STACK_USER $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d/* $NEUTRON_CONF_DIR/policy.d/
|
||||
Q_DB_NAME="neutron_nsx"
|
||||
Q_PLUGIN_CLASS="vmware_nsxv"
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ function neutron_plugin_configure_common {
|
||||
mkdir -p /$Q_PLUGIN_CONF_PATH
|
||||
cp $DEST/$Q_PLUGIN_SRC_CONF_PATH/nsx.ini.sample /$Q_PLUGIN_CONF_PATH/$Q_PLUGIN_CONF_FILENAME
|
||||
sudo install -d -o $STACK_USER $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d $NEUTRON_CONF_DIR/policy.d
|
||||
cp -vr $DEST/$Q_PLUGIN_SRC_CONF_PATH/policy.d/* $NEUTRON_CONF_DIR/policy.d/
|
||||
Q_PLUGIN_CLASS="vmware_nsxv3"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user