new hcloud commands in justfile

This commit is contained in:
CherryKitten 2024-06-01 20:11:52 +02:00
parent 0c58bb325f
commit e30d7f3b10
Signed by: sammy
GPG key ID: 98D8F75FB0658276

View file

@ -9,6 +9,12 @@ apply:
build-vm host="bengal":
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:
nix fmt
git add .