Merge "[Sahara] Copy policy.json if it exists"
This commit is contained in:
commit
219a58e57b
@ -98,6 +98,10 @@ function configure_sahara {
|
||||
fi
|
||||
sudo chown $STACK_USER $SAHARA_CONF_DIR
|
||||
|
||||
if [[ -f $SAHARA_DIR/etc/sahara/policy.json ]]; then
|
||||
cp -p $SAHARA_DIR/etc/sahara/policy.json $SAHARA_CONF_DIR
|
||||
fi
|
||||
|
||||
# Copy over sahara configuration file and configure common parameters.
|
||||
cp $SAHARA_DIR/etc/sahara/sahara.conf.sample $SAHARA_CONF_FILE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user