new hcloud commands in justfile
This commit is contained in:
parent
0c58bb325f
commit
e30d7f3b10
1 changed files with 6 additions and 0 deletions
6
justfile
6
justfile
|
@ -9,6 +9,12 @@ apply:
|
||||||
build-vm host="bengal":
|
build-vm host="bengal":
|
||||||
nixos-rebuild build-vm --flake .#{{host}}
|
nixos-rebuild build-vm --flake .#{{host}}
|
||||||
|
|
||||||
|
create-new-hcloud-host name="" type="cx11" location="nbg1":
|
||||||
|
hcloud server create --name '{{name}}' --type 'cx11' --image debian-11 --user-data-from-file files/cloud-init.yml --location nbg1 --ssh-key openpgp:0x6068FEBB --network cherrykitten-internal
|
||||||
|
|
||||||
|
delete-hcloud-host name="":
|
||||||
|
hcloud server delete '{{name}}'
|
||||||
|
|
||||||
git:
|
git:
|
||||||
nix fmt
|
nix fmt
|
||||||
git add .
|
git add .
|
||||||
|
|
Loading…
Add table
Reference in a new issue