showard | 45ae819 | 2008-11-05 19:32:53 +0000 | [diff] [blame^] | 1 | def cleanup(machine): |
mbligh | 084bc17 | 2008-10-18 14:02:45 +0000 | [diff] [blame] | 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) |
showard | 45ae819 | 2008-11-05 19:32:53 +0000 | [diff] [blame^] | 7 | host.cleanup() |
mbligh | 084bc17 | 2008-10-18 14:02:45 +0000 | [diff] [blame] | 8 | |
showard | 45ae819 | 2008-11-05 19:32:53 +0000 | [diff] [blame^] | 9 | job.parallel_simple(cleanup, machines, log=False) |