|
|
@ -214,9 +214,18 @@ def main(): |
|
|
|
# |
|
|
|
########################################################################### |
|
|
|
|
|
|
|
# https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh |
|
|
|
# is currently broken, hence the "rabbitctl" lines were added in the example |
|
|
|
# below, see also https://bugs.launchpad.net/faafo/+bug/1679710 |
|
|
|
# |
|
|
|
# Thanks to Stefan Friedmann for finding this fix ;) |
|
|
|
|
|
|
|
userdata = '''#!/usr/bin/env bash |
|
|
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \ |
|
|
|
-i database -i messaging |
|
|
|
rabbitmqctl add_user faafo guest |
|
|
|
rabbitmqctl set_user_tags faafo administrator |
|
|
|
rabbitmqctl set_permissions -p / faafo ".*" ".*" ".*" |
|
|
|
''' |
|
|
|
|
|
|
|
print('Starting new app-services instance and wait until it is running...') |
|
|
|