Skip to content
Snippets Groups Projects
Commit 5dc3ca2c authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

fixed faafo userdata, thanks to Stefan ;), also added Ubuntu 18.04

example image
parent cd24f275
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ region_name = 'RegionOne' ...@@ -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(): ...@@ -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...')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment