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.2.tar.gz (7.9 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.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ddc9a9e8e89be70b616c19c0d6dd6bbfb4b1e93f4978b05f580c886261c147b1
MD5 b6c2ce8a46c1550741cbafc5c9bb7329
BLAKE2b-256 3857e01d9196df61d9c53d8412388549b7d16c3439a9f2edcaa39b6a42796fce

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1e439ce223686705b1ccd79af0bc3b8d1a5b1c8279a349e0c9a6dc3a4dfd8be
MD5 5fe489af42a54613baa1483ac2435f99
BLAKE2b-256 2cfaf5eb95a9313de67711d0c1f5b61809e0799539aa8073d11826efe3b24a7f

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