Unattended Installation
Install Cybrave OS and configure management access from an auto.yml answer file, without console input.
Use an auto.yml answer file to install Cybrave OS and configure management access without
console input. It can also provision an administrator account.
The ISO installer starts automatically, continues past hardware warnings, installs to the first eligible disk, and starts the installed system. Bootstrap then reads the answer file without asking for network settings or confirmation of the setup code.
Provide the answer file
The installer looks for auto.yml in this order:
- At the root of the installation media.
- At the root of each attached partition it can mount. Partitions are mounted read-only, and the first match is used.
To avoid rebuilding the ISO, put auto.yml at the root of a partition on a separate USB drive.
Attach that drive along with the installation media. Keep only the intended answer file attached.
The selected file is copied to /var/lib/cybrave/auto.yml on the installed system with 0600
permissions.
Configure a wired management interface
Connect the management Ethernet port to the management network. In the YAML document, replace eno1 with that port’s interface name and use addresses for your network.
For DHCP:
management_interface:
enabled: true
interface: eno1
ipv4:
type: dhcpFor a static address:
management_interface:
enabled: true
interface: eno1
ipv4:
type: static
address: 192.168.88.254/24
gateway: 192.168.88.1management_interface.enabled: Usetrueto configure management access.falseskips that stepmanagement_interface.interface: Target interface name. An omitted or unavailable name falls back to the first detected interfacemanagement_interface.ipv4.type:dhcp,static, orshared; defaults tostaticmanagement_interface.ipv4.address: IPv4 address with prefix for static or shared addressingmanagement_interface.ipv4.gateway: Optional gateway for static addressing
Specify the interface and addressing mode explicitly for each deployment. For DHCP, omit the address and gateway. For shared addressing, specify the address and omit the gateway. For static addressing, supply the address explicitly so the deployment uses your intended subnet.
Provision an administrator
To provision an administrator during bootstrap, add this top-level section to the same file:
administrator:
username: admin
password: "<bcrypt password hash>"
name: Site Operator
email: [email protected]username and a valid bcrypt password hash are required when provisioning the account.
name and email are optional. Replace the placeholder with a hash generated from the
administrator's password, for example:
mkpasswd -m bcrypt -R 12The account receives the configured administrator group and can use the control tools according
to its product role. If the administrator section is omitted, use the setup code shown on the
console to create the first administrator in the web UI.
Run the installation
With both media attached, boot the ISO. At the installed system's login prompt, remove the installation and answer-file media. Bootstrap applies the network and optional administrator automatically; open the management URL to finish any remaining setup. Retain a separate answer file for each deployment.
Sign in
Use the administrator credentials supplied during provisioning. Complete a required password change, MFA enrollment, or MFA verification when prompted. WebUI credentials and SSH credentials are separate; changing the Console password does not change the SSH password.
For the interactive installation and the hardware requirements, see the Installation Guide.