fixed vm name being set to "test"

This commit is contained in:
Johannes Erwerle 2025-07-13 14:55:11 +02:00
parent cc8e8bbc60
commit c9a6b90c3d
2 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ def build_vm():
password = getpass(f"Password for user {args.username}:")
data = graphql_query(client, vm_query)["data"]
data = graphql_query(client, vm_query, variables={"name": args.vm_name})["data"]
vm = data["vms"][0]
cpu_cores = int(float(vm["vcpus"]))