From 886085a73dc3b7540675a2d1f5b9f6a49389c83a Mon Sep 17 00:00:00 2001 From: Sebastian Rieger Date: Wed, 24 Apr 2024 12:21:31 +0200 Subject: [PATCH] changed image name to be persistent --- demo1_getting_started.py | 3 ++- demo2_instance_with_init_script.py | 3 ++- demo3_microservice.py | 3 ++- demo4-scale-out-add-worker.py | 3 ++- demo4-scale-out.py | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/demo1_getting_started.py b/demo1_getting_started.py index d8dd3ab..e37806b 100644 --- a/demo1_getting_started.py +++ b/demo1_getting_started.py @@ -50,7 +50,8 @@ 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 = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img" +UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64" # default region REGION_NAME = 'RegionOne' diff --git a/demo2_instance_with_init_script.py b/demo2_instance_with_init_script.py index 881ee9c..745b140 100644 --- a/demo2_instance_with_init_script.py +++ b/demo2_instance_with_init_script.py @@ -49,7 +49,8 @@ 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 = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img" +UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64" # The public key to be used for SSH connection, please make sure, that you have the # corresponding private key diff --git a/demo3_microservice.py b/demo3_microservice.py index 1fbb48b..a00c514 100644 --- a/demo3_microservice.py +++ b/demo3_microservice.py @@ -47,7 +47,8 @@ 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 = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img" +UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64" # The public key to be used for SSH connection, please make sure, that you have the # corresponding private key diff --git a/demo4-scale-out-add-worker.py b/demo4-scale-out-add-worker.py index 6d3630c..9e182b4 100644 --- a/demo4-scale-out-add-worker.py +++ b/demo4-scale-out-add-worker.py @@ -27,7 +27,8 @@ project_network = 'CloudComp' + str(group_number) + '-net' # The image to look for and use for the started instance #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" +#UBUNTU_IMAGE_NAME = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img" +UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64" # The public key to be used for SSH connection, please make sure, that you have the corresponding private key # diff --git a/demo4-scale-out.py b/demo4-scale-out.py index 4154226..b8b87af 100644 --- a/demo4-scale-out.py +++ b/demo4-scale-out.py @@ -27,7 +27,8 @@ project_network = 'CloudComp' + str(group_number) + '-net' # The image to look for and use for the started instance #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" +#UBUNTU_IMAGE_NAME = "auto-sync/ubuntu-jammy-22.04-amd64-server-20240319-disk1.img" +UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64" # The public key to be used for SSH connection, please make sure, that you have the corresponding private key