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.6.tar.gz (8.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.6-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.6.tar.gz
Algorithm Hash digest
SHA256 833f41ac89f722582e53d4a47df1e565c14251767511e7b4bd29ee0adea8aa63
MD5 e1e62261bb3df16a9b10828b1ac0f241
BLAKE2b-256 bd9465e77a81776ecb43199190783105b747eab7564e81d145142db60e400ef8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jprov-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6489f31a2c7363664ce76e23f56542414eec429186b25816fbe5fd9856e94a12
MD5 a89276b0bebae360d6dd7e23eb8cd06b
BLAKE2b-256 dd15db595225688c05b13ef61560dd2fcdc47cf62fac833d12f91a905419aa08

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