Add raspi-test to the remote update script
This commit is contained in:
parent
09ed1adf31
commit
1c9908f40e
|
@ -7,7 +7,7 @@ hosts=(
|
||||||
"nextcloud"
|
"nextcloud"
|
||||||
"pihole"
|
"pihole"
|
||||||
"plex"
|
"plex"
|
||||||
#"proxy"
|
"raspi-test"
|
||||||
"restic-server"
|
"restic-server"
|
||||||
"ttrss"
|
"ttrss"
|
||||||
)
|
)
|
||||||
|
@ -19,7 +19,7 @@ for host in "${hosts[@]}"
|
||||||
do
|
do
|
||||||
fqdn="$host.2li.local"
|
fqdn="$host.2li.local"
|
||||||
echo $fqdn
|
echo $fqdn
|
||||||
nixos-rebuild switch --use-remote-sudo --build-host localhost --target-host $fqdn --flake ".#$host"
|
nixos-rebuild switch -j auto --use-remote-sudo --build-host localhost --target-host $fqdn --flake ".#$host"
|
||||||
if [ $host == "nixos-management" ]; then
|
if [ $host == "nixos-management" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue