|
@ -23,6 +23,7 @@ region_name = 'RegionOne' |
|
|
domain_name = "default" |
|
|
domain_name = "default" |
|
|
|
|
|
|
|
|
ubuntu_image_name = "Ubuntu 14.04 - Trusty Tahr - 64-bit - Cloud Based Image" |
|
|
ubuntu_image_name = "Ubuntu 14.04 - Trusty Tahr - 64-bit - Cloud Based Image" |
|
|
|
|
|
#ubuntu_image_name = "Ubuntu 18.04 - Bionic Beaver - 64-bit - Cloud Based Image" |
|
|
|
|
|
|
|
|
flavor_name = 'm1.small' |
|
|
flavor_name = 'm1.small' |
|
|
|
|
|
|
|
@ -153,9 +154,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 |
|
|
userdata = '''#!/usr/bin/env bash |
|
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \ |
|
|
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \ |
|
|
-i messaging -i faafo -r api |
|
|
-i messaging -i faafo -r api |
|
|
|
|
|
rabbitmqctl add_user faafo guest |
|
|
|
|
|
rabbitmqctl set_user_tags faafo administrator |
|
|
|
|
|
rabbitmqcl set_permissions -p / faafo ".*" ".*" ".*" |
|
|
''' |
|
|
''' |
|
|
|
|
|
|
|
|
print('Starting new app-controller instance and wait until it is running...') |
|
|
print('Starting new app-controller instance and wait until it is running...') |
|
|