diff options
Diffstat (limited to 'tests/init-core-openstack.sh')
| -rwxr-xr-x | tests/init-core-openstack.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/init-core-openstack.sh b/tests/init-core-openstack.sh new file mode 100755 index 000000000..02a445c4c --- /dev/null +++ b/tests/init-core-openstack.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -o xtrace +set -o errexit + +export PYTHONUNBUFFERED=1 + + +function init_runonce { + . /etc/kolla/admin-openrc.sh + . ~/openstackclient-venv/bin/activate + + echo "Initialising OpenStack resources via init-runonce" + tools/init-runonce &> /tmp/logs/ansible/init-runonce +} + + +init_runonce |
