1def run(machine): 2 host = hosts.create_host(machine) 3 while True: 4 host.reboot() 5 6job.parallel_simple(run, machines) 7