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.
This commit is contained in:
@@ -20,8 +20,8 @@ params:
|
|||||||
Creates an unprivileged container on **{{proxmox}}** (connects as a user that may run
|
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
|
`pct`, usually root), starts it with ShellBook's SSH key for root, and adds it to
|
||||||
Hosts. Other notebooks can include this one with
|
Hosts. Other notebooks can include this one with
|
||||||
`::use{notebook="infra/lxc-container.md" as=ct}` and target the new machine as
|
`::use{notebook="infra/lxc-container.md" as=ct}` and target the new machine through
|
||||||
`{{ct.host}}`.
|
its `host` capture (`ct.host` with that alias).
|
||||||
|
|
||||||
```sh {check host="{{proxmox}}" id=pve title="Proxmox tools are available"}
|
```sh {check host="{{proxmox}}" id=pve title="Proxmox tools are available"}
|
||||||
command -v pct
|
command -v pct
|
||||||
|
|||||||
Reference in New Issue
Block a user