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.1.tar.gz (7.8 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.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0889eb3958c28d6f0e8fe72fc02b39c637cbc7b116b9ca61c59b1229c9fecee1
MD5 07a887429c3dcb8dd8be938f2d293591
BLAKE2b-256 20cc4047dc5027f22f70488ef131b397877a5bbe7f8f8415ab75a86fc5ec13c9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 189fbe9ab969002c8c6039971402c39ae824b8ef027fbcc23c3e6d2c7d3e56ca
MD5 f5eff3d87e49e406359babfff3e27790
BLAKE2b-256 712a62bac09b438406e0fea9e8f72b8ed1b84800d0c9dc50e05e5dd73e614b23

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