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