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.0.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.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jprov-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e8bc30e4d9cade100daa2237efb6ad5f98fa68897a7abbf102482d44e7e5a11a
MD5 deb19cef739aae3593000bbf2e5d62e7
BLAKE2b-256 93003f5b114328ba4d35d15afb73c76aec4cd356727632d5ef5a5cc13c635a76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jprov-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73ece49b95d4b0902cfe472eafd76858b354f99191e12bcb48f67a9d1beab14d
MD5 e65420bcc10f8a9ad61d61e12ea9a22c
BLAKE2b-256 4658fe0a3c27e756d1673f6a32f962cdb97d6368860c4a9e27d5e6e5ec398bc4

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