From 41d90951b66ed7ffb83b32d99334753b38ea8812 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 24 Feb 2025 00:20:33 -0700 Subject: [PATCH] docs: Update verify docs to include templates --- docs/chapters/subcommands/verify.rst | 29 +++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/docs/chapters/subcommands/verify.rst b/docs/chapters/subcommands/verify.rst index 9ecec6ca..de2b85ad 100644 --- a/docs/chapters/subcommands/verify.rst +++ b/docs/chapters/subcommands/verify.rst @@ -2,12 +2,12 @@ verify ====== -This command scans a bootstrapped release and validates that everything looks -in order. This is not a 100% comprehensive check, but it compares the release +This command scans a bootstrapped release or template and validates that everything looks +in order. This is not a 100% comprehensive check, but it compares the release or template against a "known good" index. If you see errors or issues here, consider deleting and re-bootstrapping -the release. +the release or template . .. code-block:: shell @@ -19,3 +19,26 @@ the release. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. + + ishmael ~ # bastille verify bastillebsd-templates/jellyfin + Detected Bastillefile hook. + [Bastillefile]: + CMD mkdir -p /usr/local/etc/pkg/repos + CMD echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > + /usr/local/etc/pkg/repos/FreeBSD.conf + CONFIG set allow.mlock=1; + CONFIG set ip6=inherit; + RESTART + PKG jellyfin + SYSRC jellyfin_enable=TRUE + SERVICE jellyfin start + Template ready to use. + +.. code-block:: shell + + ishmael ~ # bastille verify 11.2-RELEASE + Usage: bastille verify [RELEASE|TEMPLATE] + + Options: + + -x | --debug Enable debug mode.