mbligh | 084bc17 | 2008-10-18 14:02:45 +0000 | [diff] [blame^] | 1 | def reboot(machine): |
2 | hostname, user, passwd, port = parse_machine(machine, ssh_user, | ||||
3 | ssh_port, ssh_pass) | ||||
4 | |||||
5 | host = hosts.create_host(hostname, user=user, port=port, | ||||
6 | initialize=False, password=passwd) | ||||
7 | host.reboot() | ||||
8 | |||||
9 | job.parallel_simple(reboot, machines, log=False) |