nixosTests.scion-freestanding-deployment: Fix machine type assumption

This commit is contained in:
Jacek Galowicz
2026-04-21 11:40:43 +00:00
committed by Jacek Galowicz
parent 5b78f85154
commit 18eae4ef10

View File

@@ -140,28 +140,27 @@ in
in
# python
''
# List of AS instances
machines = [scion01, scion02, scion03, scion04, scion05]
vms = [scion01, scion02, scion03, scion04, scion05]
# Functions to avoid many for loops
def start(allow_reboot=False):
for i in machines:
for i in vms:
i.start(allow_reboot=allow_reboot)
def wait_for_unit(service_name):
for i in machines:
for i in vms:
i.wait_for_unit(service_name)
def succeed(command):
for i in machines:
for i in vms:
i.succeed(command)
def reboot():
for i in machines:
for i in vms:
i.reboot()
def crash():
for i in machines:
for i in vms:
i.crash()
# Start all machines, allowing reboot for later