Kernel command line
senbit.answers=https://host/web-01.toml, a device, or a path. One generic ISO, PXE or a boot menu, one address per machine.
Describe a machine in one file. Start the ISO: it installs, reboots, then installs the packages, starts the services and runs your commands. Nobody answers anything.
Written for 0.7.0, to be tested in a VM.
[install]
confirm = "erase" # required: without it, nothing is erased
disk = "/dev/vda"
[system]
hostname = "web-01"
keyboard = "fr"
[accounts]
root_password_hash = "$6$..." # openssl passwd -6
[accounts.user]
name = "admin"
password_hash = "$6$..."
[provision] # the first boot
packages = ["openssh-server", "nginx"]
enable = ["ssh.service", "nginx.service"]
A complete commented example:
senbit-install.example.toml.
The installer also writes the answers of every installation to /etc/senbit/install.toml:
install one machine by hand, copy that file, install a hundred more.
senbit.answers=https://host/web-01.toml, a device, or a path. One generic ISO, PXE or a boot menu, one address per machine.
-fw_cfg name=opt/senbit/install.toml,file=web-01.toml. Virtual machines, no extra disk, no network.
senbit-install.toml at its root. Hardware without network, a rack, a stick per profile.
devtool build iso --answers web-01.toml. One ISO per profile: start it and it installs.
confirm = "erase".force = true../scripts/devtool build./scripts/devtool build image --answers web-01.toml
The real ISO installs a disk in QEMU, then the disk boots once so that the packages, services and
commands are done inside the image. You get a compressed qcow2 that boots ready, and its
.sha256. Details: docs/INSTALLER.md.