updated certificate, image name and AUTH_URL of new charmed openstack deployment, changed old GOGS repo to new git-ce.rwth-aachen.de repo
This commit is contained in:
@ -286,8 +286,11 @@ def main():
|
||||
#
|
||||
# Thanks to Stefan Friedmann for finding this fix ;)
|
||||
|
||||
userdata_service = '''#!/usr/bin/env bash
|
||||
curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install-aws.sh | bash -s -- \
|
||||
# new repo on git-ce.rwth-aachen.de:
|
||||
hsfd_faafo_cloud_init_script = 'https://git-ce.rwth-aachen.de/sebastian.rieger/cloud-computing-msc-ai-examples/-/raw/master/faafo/contrib/install-aws.sh'
|
||||
|
||||
userdata_service = f'''#!/usr/bin/env bash
|
||||
curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- \
|
||||
-i database -i messaging
|
||||
rabbitmqctl add_user faafo guest
|
||||
rabbitmqctl set_user_tags faafo administrator
|
||||
@ -312,8 +315,8 @@ def main():
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
userdata_api = '''#!/usr/bin/env bash
|
||||
curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install-aws.sh | bash -s -- \
|
||||
userdata_api = f'''#!/usr/bin/env bash
|
||||
curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- \
|
||||
-i faafo -r api -m 'amqp://faafo:guest@%(services_ip)s:5672/' \
|
||||
-d 'mysql+pymysql://faafo:password@%(services_ip)s:3306/faafo'
|
||||
''' % {'services_ip': services_ip}
|
||||
@ -350,13 +353,13 @@ def main():
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
userdata_worker = '''#!/usr/bin/env bash
|
||||
curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install-aws.sh | bash -s -- \
|
||||
userdata_worker = f'''#!/usr/bin/env bash
|
||||
curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- \
|
||||
-i faafo -r worker -e 'http://%(api_1_ip)s' -m 'amqp://faafo:guest@%(services_ip)s:5672/'
|
||||
''' % {'api_1_ip': api_1_ip, 'services_ip': services_ip}
|
||||
|
||||
# userdata_api-api-2 = '''#!/usr/bin/env bash
|
||||
# curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install-aws.sh | bash -s -- \
|
||||
# userdata_api-api-2 = f'''#!/usr/bin/env bash
|
||||
# curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- \
|
||||
# -i faafo -r worker -e 'http://%(api_2_ip)s' -m 'amqp://faafo:guest@%(services_ip)s:5672/'
|
||||
# ''' % {'api_2_ip': api_2_ip, 'services_ip': services_ip}
|
||||
|
||||
|
Reference in New Issue
Block a user