This commit is contained in:
Daniel Langbein 2025-01-16 11:23:14 +01:00
parent bc3acdf69a
commit 1d376dcd79
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -182,6 +182,7 @@ Local node (e.g. yodaTux):
```shell ```shell
niv update niv update
sudo nix-channel --update && colmena build --on $(hostname) -v --show-trace && colmena apply-local --sudo boot sudo nix-channel --update && colmena build --on $(hostname) -v --show-trace && colmena apply-local --sudo boot
#sudo reboot
``` ```
Single remote node (e.g. deploy to yodaTab): Single remote node (e.g. deploy to yodaTab):
@ -189,6 +190,7 @@ Single remote node (e.g. deploy to yodaTab):
```shell ```shell
niv update niv update
i='remoteTab'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update" i='remoteTab'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
#colmena exec --on $i "reboot"
``` ```
Multiple remote nodes (e.g. deploy to all nodes with tag @server): Multiple remote nodes (e.g. deploy to all nodes with tag @server):
@ -196,6 +198,7 @@ Multiple remote nodes (e.g. deploy to all nodes with tag @server):
```shell ```shell
niv update niv update
i='@server'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update" i='@server'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
#colmena exec --on $i "reboot"
``` ```
### Update ### Update