Quickly generate files and installer images for unattended OpenBSD installation.
Project description
Puffmatic - OpenBSD Autoinstall Generator
This script facilitates the preparation of files for unattended OpenBSD installation. Refer to autoinstall(8) for more details.
The provided examples allow you to create auto-installable sets for USB and network installations. This tutorial demonstrates how to test these sets on a vmd(8) virtual machine.
Installation
Installing from PyPI
Puffmatic is released to PyPI, so you can install it using pip:
python3 -m venv venv
. venv/bin/activate
pip install puffmatic
Running from source directory
This script runs on OpenBSD and requires Python 3. All dependencies
are in base system or are installed by pip. Checkout source
directory from git to boostrap it:
make bootstrap
It will create venv and install handful of dependencies to run, test
and develop puffmatic.
If you are using envrc, provided .envrc will ensure venv is activated,
and PYTHONPATH and PATH are updated for seamless use.
If you don't run envrc, you can source the shell environment
manually to the same effect:
. .envrc
Test with:
python3 -m puffmatic help
Last but not least, you must grant access to some shell utilities in
priviledged mode. Put this in your /etc/doas.conf:
permit nopass user cmd mount
permit nopass user cmd umount
permit nopass user cmd vnconfig
permit nopass user cmd install
If you are concerned about elevated priviledges, create a dedicated user account.
example.com
Once installed, you should explore the example. Go stright to
example.com README.md, where you will find
further documentation and a tutorial runnable using vmd(8).
The example is "self documenting" in the sense that all elements are
covered by adjacent README.md files scattered around.
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file puffmatic-0.1.0a3.tar.gz.
File metadata
- Download URL: puffmatic-0.1.0a3.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
211543105fafa83e32e32e88638c26a1b19beef789aeb0a2380f438a21871c22
|
|
| MD5 |
b454f8d92efa9dccf8c19e9ad7f734f4
|
|
| BLAKE2b-256 |
2fe8c031d1aaad50c65ed9bdc0a54d7d23ba7bb09fcabb8cf728977b859d92d8
|
File details
Details for the file puffmatic-0.1.0a3-py3-none-any.whl.
File metadata
- Download URL: puffmatic-0.1.0a3-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bbb19dfb926b0319f45ab55bbcf9c3878f5697494a59aed1e95a19765be4144
|
|
| MD5 |
a2dfbeab62a919a31151a91aab9ffc6c
|
|
| BLAKE2b-256 |
5665f272c501ec5bc19734e81ba399182e8b8b7ed017435094e2dc2017e53623
|