From 16cfcd36ea0a447f560736c98f05b82ab016f779 Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Mon, 16 Nov 2026 12:31:54 +0100 Subject: [PATCH] fix(templates): avoid template syntax in LXC prose (#12) The literal {{ct.host}} in prose was composed into {{ct.ct.host}} when the notebook is included; describe the capture in words instead. --- templates/workspace/notebooks/infra/lxc-container.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/workspace/notebooks/infra/lxc-container.md b/templates/workspace/notebooks/infra/lxc-container.md index ce0b540..678b4d6 100644 --- a/templates/workspace/notebooks/infra/lxc-container.md +++ b/templates/workspace/notebooks/infra/lxc-container.md @@ -20,8 +20,8 @@ params: Creates an unprivileged container on **{{proxmox}}** (connects as a user that may run `pct`, usually root), starts it with ShellBook's SSH key for root, and adds it to Hosts. Other notebooks can include this one with -`::use{notebook="infra/lxc-container.md" as=ct}` and target the new machine as -`{{ct.host}}`. +`::use{notebook="infra/lxc-container.md" as=ct}` and target the new machine through +its `host` capture (`ct.host` with that alias). ```sh {check host="{{proxmox}}" id=pve title="Proxmox tools are available"} command -v pct