Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

puffmatic-0.1.0a2.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

puffmatic-0.1.0a2-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file puffmatic-0.1.0a2.tar.gz.

File metadata

  • Download URL: puffmatic-0.1.0a2.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for puffmatic-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 f70fc4ac3ad92ea3d4745e9d39fc9728f83b73e9310ac66e52eff145525a642f
MD5 c7592494c7c2444b5207f9f02344612e
BLAKE2b-256 41f8c488c0a6d21394d7ef60c0b685e149fa6722e5806578dff6bf3d0708be67

See more details on using hashes here.

File details

Details for the file puffmatic-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: puffmatic-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for puffmatic-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 feefb0ad5edccd6abc3834604265360efd2d7f582fe61d63dc82999609fdaa59
MD5 a224ba11b3c3d3170d6bfab551d4ab98
BLAKE2b-256 a45fe0a446514fd5c214d869492c977186fa4368b93e0b52db9939fe58164d32

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