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.3.tar.gz (8.1 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.3-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ccabe4feec2817bce0d48821ff6cc0ad0be655de4631143c835b02ce13d03391
MD5 e5b51468a65b8029d0cd6b8805ab23bf
BLAKE2b-256 47d38f1a4b0f977646b6d63a95a51d69a4c4f218e83cecdf13fc5871ed21a8f3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9445a5c2cbeb5d2ec0777cedb40533702eeac0acb07cc679ab4917ba868e1875
MD5 49004747ed217f9dd2d6ef26632d8405
BLAKE2b-256 e0b54518bf6d03dbd198609a056aae1c256748f3ae758675748391ecb343b10f

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