OLD | NEW |
---|---|
1 def cleanup(machine): | 1 def cleanup(machine): |
2 hostname, user, passwd, port = parse_machine(machine, ssh_user, | 2 host = hosts.create_host(machine, initialize=False, auto_monitor=False) |
3 ssh_port, ssh_pass) | |
4 host = hosts.create_host(hostname, user=user, port=port, initialize=False, | |
5 password=passwd, auto_monitor=False) | |
6 host.cleanup() | 3 host.cleanup() |
7 | 4 |
8 | 5 |
9 job.parallel_simple(cleanup, machines, log=False) | 6 job.parallel_simple(cleanup, machines, log=False) |
OLD | NEW |