Kaitlin Farr | 275af40 | 2017-02-15 16:01:47 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # This script is executed inside pre_test_hook function in devstack gate. |
| 4 | |
| 5 | set -ex |
| 6 | |
| 7 | export DEST=${DEST:-$BASE/new} |
| 8 | export DEVSTACK_DIR=${DEVSTACK_DIRE:-$DEST/devstack} |
| 9 | export LOCALCONF_PATH=$DEVSTACK_DIR/local.conf |
| 10 | |
| 11 | # Here we can set some configurations for local.conf |
| 12 | # for example, to pass some config options directly to .conf files |
| 13 | |
| 14 | echo -e '[[post-config|$NOVA_CONF]]' >> $LOCALCONF_PATH |
| 15 | echo -e '[glance]' >> $LOCALCONF_PATH |
| 16 | echo -e 'verify_glance_signatures = True' >> $LOCALCONF_PATH |
| 17 | |