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