Skip to Content
Cybrave OS

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.

After the hardware checks, an answer-file installation automatically erases the first eligible disk without disk selection or erasure confirmation. Disconnect disks you must preserve and check every remaining disk, including a writable USB drive carrying the answer file.

Provide the answer file

The installer looks for auto.yml in this order:

  1. At the root of the installation media.
  2. 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: dhcp

For a static address:

management_interface:
  enabled: true
  interface: eno1
  ipv4:
    type: static
    address: 192.168.88.254/24
    gateway: 192.168.88.1
  • management_interface.enabled: Use true to configure management access. false skips that step
  • management_interface.interface: Target interface name. An omitted or unavailable name falls back to the first detected interface
  • management_interface.ipv4.type: dhcp, static, or shared; defaults to static
  • management_interface.ipv4.address: IPv4 address with prefix for static or shared addressing
  • management_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 12

The 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.

Protect the answer file and its media. It contains a password hash when an administrator is specified.

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.