|
@ -13,7 +13,7 @@ from libcloud.compute.types import Provider |
|
|
# Please use 1-29 for X in the following variable to specify your group number. (will be used for the username, |
|
|
# Please use 1-29 for X in the following variable to specify your group number. (will be used for the username, |
|
|
# project etc., as coordinated in the lab sessions) |
|
|
# project etc., as coordinated in the lab sessions) |
|
|
|
|
|
|
|
|
group_number = X |
|
|
|
|
|
|
|
|
group_number = 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# web service endpoint of the private cloud infrastructure |
|
|
# web service endpoint of the private cloud infrastructure |
|
@ -26,8 +26,9 @@ project_name = 'CloudComp' + str(group_number) |
|
|
project_network = 'CloudComp' + str(group_number) + '-net' |
|
|
project_network = 'CloudComp' + str(group_number) + '-net' |
|
|
|
|
|
|
|
|
# The image to look for and use for the started instance |
|
|
# 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 = "Ubuntu 20.04 - Focal Fossa - 64-bit - Cloud Based Image" |
|
|
|
|
|
|
|
|
#ubuntu_image_name = "Ubuntu 20.04 - Focal Fossa - 64-bit - Cloud Based Image" |
|
|
|
|
|
ubuntu_image_name = "Ubuntu 22.04 - Jammy Jellyfish - 64-bit - Cloud Based Image" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The public key to be used for SSH connection, please make sure, that you have the corresponding private key |
|
|
# The public key to be used for SSH connection, please make sure, that you have the corresponding private key |
|
|
# |
|
|
# |
|
@ -227,12 +228,6 @@ 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 ;) |
|
|
|
|
|
|
|
|
|
|
|
#hsfd_faafo_cloud_init_script = 'https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install.sh' |
|
|
#hsfd_faafo_cloud_init_script = 'https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install.sh' |
|
|
# testing / faafo dev branch: |
|
|
# testing / faafo dev branch: |
|
|
hsfd_faafo_cloud_init_script = 'https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/branch/dev_faafo/faafo/contrib/install.sh' |
|
|
hsfd_faafo_cloud_init_script = 'https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/branch/dev_faafo/faafo/contrib/install.sh' |
|
|