From 276c9bd2a751f90911689a37e3a86f4a26056e23 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Tue, 15 Sep 2026 16:29:29 -0400 Subject: automate adding new host flow --- nix/README.md | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'nix/README.md') diff --git a/nix/README.md b/nix/README.md index 95cd4ac..920e9d3 100644 --- a/nix/README.md +++ b/nix/README.md @@ -28,25 +28,8 @@ Convert to Proxmox Template: ssh lan.hesh 'qm template 104' ``` -Run TF as usual using clone against the Template. -```sh -cd ../terraform -source con.env -tofu plan -out=tfplan -tofu apply tfplan -``` - ## Add Host -Scaffold a new host (host keys, `.sops.yaml`, `flake.nix`, `per-host/`, secrets, TF VM if absent, `~/.ssh/config`, Hosts section) and print the exact cmds to create the VM and deploy: -```sh -./add.sh # interactive for cpu/mem/disk/vlan -./add.sh --cpu 1 --mem 1024 --disk 10G --vlan 30 -``` - -Defaults for cpu/mem/disk/vlan are taken from `monitoring-2`. If the VM already exists in TF it is left alone. - -The manual equivalent, if needed: ```sh ./generate-keys.sh -- cgit v1.2.3