From 09255e6047623fcf3cd6af8c6769ea1de1e611bf Mon Sep 17 00:00:00 2001 From: modem7 Date: Fri, 23 Oct 2026 03:19:13 +0100 Subject: [PATCH] Builder: default OUT_DIR to template-build next to the script Co-Authored-By: Claude Sonnet 5.5 --- Bash/Proxmox Scripts/Ubuntu Cloud Template/.gitignore | 2 +- Bash/Proxmox Scripts/Ubuntu Cloud Template/README.md | 5 +++++ .../Proxmox Scripts/Ubuntu Cloud Template/build-templates.sh | 4 ++-- .../Ubuntu Cloud Template/shared.conf.example | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Bash/Proxmox Scripts/Ubuntu Cloud Template/.gitignore b/Bash/Proxmox Scripts/Ubuntu Cloud Template/.gitignore index 1bafa6f..143fa7f 100644 --- a/Bash/Proxmox Scripts/Ubuntu Cloud Template/.gitignore +++ b/Bash/Proxmox Scripts/Ubuntu Cloud Template/.gitignore @@ -2,5 +2,5 @@ # The example (profile.conf.example) is not ignored. *.conf -# Output of build-templates.sh (normally /root/template-build, in case OUT_DIR is set inside the repo). +# Output of build-templates.sh (default: template-build next to the script). template-build/ diff --git a/Bash/Proxmox Scripts/Ubuntu Cloud Template/README.md b/Bash/Proxmox Scripts/Ubuntu Cloud Template/README.md index 6190574..f6a083f 100644 --- a/Bash/Proxmox Scripts/Ubuntu Cloud Template/README.md +++ b/Bash/Proxmox Scripts/Ubuntu Cloud Template/README.md @@ -40,6 +40,11 @@ are committed. `CLOUD_PASSWORD`) used by every template unless its profile sets them. It holds secrets. +`OUT_DIR` is the generated output (profiles and payloads, root-only). It +defaults to `template-build/` next to the script, which is git-ignored. Set +`OUT_DIR` in `shared.conf` or the environment to put it elsewhere. Before +this default it was `/root/template-build`. + Each generated `OUT_DIR/