137
186
if [[ ! -d $IRONIC_CONF_DIR ]]; then
138
187
sudo mkdir -p $IRONIC_CONF_DIR
140
195
sudo mkdir -p $IRONIC_DATA_DIR
141
196
sudo mkdir -p $IRONIC_STATE_PATH
142
197
sudo mkdir -p $IRONIC_TFTPBOOT_DIR
143
198
sudo chown -R $STACK_USER $IRONIC_DATA_DIR $IRONIC_STATE_PATH
144
199
sudo chown -R $STACK_USER:$LIBVIRT_GROUP $IRONIC_TFTPBOOT_DIR
155
200
mkdir -p $IRONIC_TFTPBOOT_DIR/pxelinux.cfg
158
209
# configure_ironic() - Set config files, create data dirs, etc