16 lines
260 B
Plaintext
Executable File
16 lines
260 B
Plaintext
Executable File
#!/usr/bin/env xonsh
|
|
|
|
hosts = [
|
|
"grav",
|
|
"heimdall",
|
|
"nixos-test-vm",
|
|
]
|
|
|
|
for host in hosts:
|
|
fqdn = "{}.2li.local".format(host)
|
|
print(fqdn)
|
|
print("-" * len(fqdn))
|
|
ssh @(fqdn) 'cd .nixos && git pull && sudo rebuild'
|
|
print("")
|
|
print("")
|