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:
@@ -35,8 +35,8 @@ if group_number is None:
|
||||
|
||||
# web service endpoint of the private cloud infrastructure
|
||||
# auth_url = 'https://private-cloud.informatik.hs-fulda.de:5000'
|
||||
AUTH_URL = 'https://10.32.4.182:5000'
|
||||
# auth_url = 'https://private-cloud2.informatik.hs-fulda.de:5000'
|
||||
AUTH_URL = 'https://10.32.4.29:5000'
|
||||
# your username in OpenStack
|
||||
AUTH_USERNAME = 'CloudComp' + str(group_number)
|
||||
print(f'Using username: {AUTH_USERNAME}\n')
|
||||
@@ -48,7 +48,7 @@ PROJECT_NETWORK = 'CloudComp' + str(group_number) + '-net'
|
||||
# The image to look for and use for the started instance
|
||||
# ubuntu_image_name = "Ubuntu 18.04 - Bionic Beaver - 64-bit - Cloud Based Image"
|
||||
#UBUNTU_IMAGE_NAME = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img"
|
||||
UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64"
|
||||
UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-server-cloud-image-amd64"
|
||||
|
||||
# The public key to be used for SSH connection, please make sure, that you have the
|
||||
# corresponding private key
|
||||
@@ -250,9 +250,11 @@ def main(): # noqa: C901 pylint: disable=too-many-branches,too-many-statements,
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
# 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.sh'
|
||||
|
||||
userdata_service = '#!/usr/bin/env bash\n' \
|
||||
'curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-' \
|
||||
'examples/raw/master/faafo/contrib/install.sh | bash -s -- ' \
|
||||
f'curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- ' \
|
||||
'-i database -i messaging\n'
|
||||
print('\nUsing cloud-init userdata for service:\n"' + userdata_service + '"\n')
|
||||
|
||||
@@ -275,9 +277,7 @@ def main(): # noqa: C901 pylint: disable=too-many-branches,too-many-statements,
|
||||
###########################################################################
|
||||
|
||||
userdata_api = '#!/usr/bin/env bash\n' \
|
||||
'curl -L -s https://gogs.informatik.hs-fulda.de/srieger/' \
|
||||
'cloud-computing-msc-ai-examples/raw/master/faafo/contrib/' \
|
||||
'install.sh | bash -s -- ' \
|
||||
f'curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- ' \
|
||||
f'-i faafo -r api -m "amqp://faafo:guest@{services_ip}:5672/" ' \
|
||||
f'-d "mysql+pymysql://faafo:password@{services_ip}:3306/faafo"'
|
||||
print('\nUsing cloud-init userdata for api:\n"' + userdata_api + '"\n')
|
||||
@@ -320,9 +320,7 @@ def main(): # noqa: C901 pylint: disable=too-many-branches,too-many-statements,
|
||||
###########################################################################
|
||||
|
||||
userdata_worker = '#!/usr/bin/env bash\n' \
|
||||
'curl -L -s https://gogs.informatik.hs-fulda.de/srieger/' \
|
||||
'cloud-computing-msc-ai-examples/raw/master/faafo/contrib/' \
|
||||
'install.sh | bash -s -- ' \
|
||||
f'curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- ' \
|
||||
f'-i faafo -r worker -e "http://{api_1_ip}" '\
|
||||
f'-m "amqp://faafo:guest@{services_ip}:5672/"'
|
||||
print('\nUsing cloud-init userdata for worker:\n"' + userdata_worker + '"\n')
|
||||
|
||||
Reference in New Issue
Block a user