Merge "Always chown $KEYSTONE_CONF_DIR"
This commit is contained in:
commit
7c8b738043
@ -81,8 +81,8 @@ function configure_keystone() {
|
|||||||
|
|
||||||
if [[ ! -d $KEYSTONE_CONF_DIR ]]; then
|
if [[ ! -d $KEYSTONE_CONF_DIR ]]; then
|
||||||
sudo mkdir -p $KEYSTONE_CONF_DIR
|
sudo mkdir -p $KEYSTONE_CONF_DIR
|
||||||
sudo chown `whoami` $KEYSTONE_CONF_DIR
|
|
||||||
fi
|
fi
|
||||||
|
sudo chown `whoami` $KEYSTONE_CONF_DIR
|
||||||
|
|
||||||
if [[ "$KEYSTONE_CONF_DIR" != "$KEYSTONE_DIR/etc" ]]; then
|
if [[ "$KEYSTONE_CONF_DIR" != "$KEYSTONE_DIR/etc" ]]; then
|
||||||
cp -p $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF
|
cp -p $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF
|
||||||
|
Loading…
Reference in New Issue
Block a user