From e30d7f3b103169ca090d2d89603fa381e540abac Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sat, 1 Jun 2024 20:11:52 +0200 Subject: [PATCH] new hcloud commands in justfile --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index 5f090d2..fabdabd 100644 --- a/justfile +++ b/justfile @@ -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 .