diff --git a/deploy.py b/deploy.py index b1a3ac2..2cf5f3a 100644 --- a/deploy.py +++ b/deploy.py @@ -103,12 +103,12 @@ runcmd: ''' db_server_resp = client.servers.create( - name=DB_SERVER_NAME, - server_type=ServerType(MACHINE_TYPE), - image=Image(name=MACHINE_OS), + name='s440054_3_2_db', + server_type=ServerType('cx11'), + image=Image(name='ubuntu-20.04'), ssh_keys=[ssh_key], networks=[vnet], - location=Location(MACHINE_LOCATION), + location=Location('hel1'), user_data=cloud_init_db )