Skip to main content

FreeBSD jail provisioning tool

Project description

jprov

jprov is an opinionated FreeBSD jail provisioning tool designed for near-stateless jails. It rebuilds a jail from a template dataset, applies an overlay filesystem, mounts volumes, and runs a provisioning command inside the jail. It is intended to be used after system/template upgrades, not on every jail restart.

Status

Early development (pre-1.0). Expect breaking changes.

Requirements

  • FreeBSD with ZFS
  • Python 3.11+ (uses tomllib)
  • Root privileges (for zfs, jail, mount, jexec)

Install (uv)

uv pip install .

Usage

jprov [-y] [--dry-run] <jailname>

Configuration

See docs/CONFIG.md for the main config and per-jail TOML schema.

Logging

All command outputs are captured to a per-run log file. On fatal error, jprov prints:

script logs written to <logpath>.log

License

BSD-2-Clause

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jprov-0.1.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jprov-0.1.4-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file jprov-0.1.4.tar.gz.

File metadata

  • Download URL: jprov-0.1.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for jprov-0.1.4.tar.gz
Algorithm Hash digest
SHA256 01806ec84af15cb5983d1c3ba5da0922a5f575a80b8b45fd358349a8bbb47281
MD5 40e91b4796397bad24a128daee6f9ac4
BLAKE2b-256 f6f23d84a7ddcf63f24f018786e5bf2ecfd0ad00fe18bb099c0d8bf8149f9a92

See more details on using hashes here.

File details

Details for the file jprov-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: jprov-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for jprov-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c9b103a4fd8fe271043852afc6169eb39c394b231023ea10925002597e2df4
MD5 299915c0db4ad4d72a1b3b72ecbff5d6
BLAKE2b-256 1538f65c384359588fb0eb5ac249fd9a1561648e7db3ea2ecc323ca781b34125

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page