From 9101f8255bc443f7bf527b69999877eb50a2e472 Mon Sep 17 00:00:00 2001 From: trfore Date: Thu, 27 Feb 2025 17:29:06 -0600 Subject: [PATCH] docs: usage add step about vendor data and add code examples --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc5eff1..066b883 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,19 @@ Blog post: [Golden Images and Proxmox Templates with cloud-init] ## Use -- Copy the [scripts](/scripts/) into `/usr/local/bin` on your Proxmox node(s). +- Create or copy [vendor-data.yaml](/cloud-init/vendor-data.yaml) into your [snippets] storage location, e.g. + `/var/lib/vz/snippets/` (default directory for the script): + + ```bash + wget -P /var/lib/vz/snippets/ https://raw.githubusercontent.com/trfore/proxmox-template-scripts/refs/heads/main/cloud-init/vendor-data.yaml + ``` + +- Copy the [scripts](/scripts/) into `/usr/local/bin` on your Proxmox node(s): + + ```bash + wget -P /usr/local/bin/ https://raw.githubusercontent.com/trfore/proxmox-template-scripts/refs/heads/main/scripts/{build-template,image-update} + ``` + - Change the scripts ownership and permissions: ```bash