6 lines
140 B
Plaintext
6 lines
140 B
Plaintext
|
|
hosts = [hosts.create_host(h) for h in machines]
|
||
|
|
|
||
|
|
for host in hosts:
|
||
|
|
print host.hostname
|
||
|
|
print host.run('uname -a').stdout.rstrip()
|