changed Ubuntu to 20.04, made python3 the default while installing faafo, added comment to show use of different faafo branches for cloud-init
This commit is contained in:
@ -20,8 +20,8 @@ project_name = 'CloudComp' + str(group_number)
|
||||
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"
|
||||
# TODO: Ubuntu >18.04 would require major updates to faafo example again/better option: complete rewrite of example?
|
||||
#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"
|
||||
|
||||
# The public key to be used for SSH connection, please make sure, that you have the corresponding private key
|
||||
#
|
||||
@ -144,8 +144,12 @@ def main():
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
#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:
|
||||
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'
|
||||
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/raw/master/faafo/contrib/install.sh | bash -s -- \
|
||||
curl -L -s ''' + hsfd_faafo_cloud_init_script + ''' | bash -s -- \
|
||||
-i faafo -i messaging -r api -r worker -r demo
|
||||
'''
|
||||
|
||||
|
Reference in New Issue
Block a user