aboutsummaryrefslogtreecommitdiffstats
path: root/docs/PLAN.md
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-02-16 14:46:24 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-02-16 14:46:24 +0200
commit34f5f546841c8e9022ac0ccf957f636907e643bb (patch)
tree8885e5f2209baa04128d75ca9bb340a999723828 /docs/PLAN.md
parent5f46fde558c467414fa151ad962caaf7f07628fa (diff)
UpdatesHEADmain
Diffstat (limited to 'docs/PLAN.md')
-rw-r--r--docs/PLAN.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/PLAN.md b/docs/PLAN.md
index 81a4b81..ee5dbe3 100644
--- a/docs/PLAN.md
+++ b/docs/PLAN.md
@@ -8,7 +8,7 @@ Build `jprov`, a FreeBSD jail provisioning tool that treats jails as nearly stat
## Current Understanding
- Primary command: `jprov [jailname]`.
- Reads a main config from `/etc/jprov.conf` (or `/usr/local/etc/jprov.conf`) which defines where per-jail configs live.
-- Per-jail config is TOML and includes at least: template, provisioning command, and nullfs mounts.
+- Per-jail config is TOML and includes at least: template, provisioning command (`cmds.provision`), and nullfs mounts. `jailconf` is a map of keys to values for jail.conf entries.
- Creates a new thin jail as a ZFS clone of the template dataset.
- Deep-copies a tree into the jail filesystem (e.g. `jailname/usr/local/bin/foo` -> `/usr/local/bin/foo`).
- Runs a provisioning command inside the jail; provisioning success depends on this command's exit status.