Skip to main content

Veeam Software Appliance v13.2: unattended deployment

  • Dec 3, 2026 2:48 PM UTC
  • 1 comment
  • 10 views

Forum|alt.badge.img

How unattended deployment works


New Veeam Software Appliance v13.2 and Veeam Infrastructure Appliance v13.2 support fully unattended deployment which runs in two stages:

  1. Stage 1 (OS install, ISO only). The VM or physical server boots from the Veeam ISO, partitions its local drives, installs Rocky Linux and the Veeam packages, and reboots. Two built-in Linux components handle this stage in order: GRUB (the boot menu) and Anaconda (the Rocky Linux installer). Before either pauses for input, the installer reads a one-line JSON file that skips both the GRUB boot menu and the disk-wipe prompt.

  2. Stage 2 (first-boot setup, ISO and OVA). When the installed appliance boots Linux for the first time, cloud-init (a standard Linux first-boot configuration tool) reads the answer file and passes the parameters to Veeam Host Manager. Veeam setup then configures the appliance settings, including accounts, hostname, network, time server, REST API keys, and license.

The OVA image (Veeam Software Appliance only) comes with Linux and Veeam software already installed, so it skips Stage 1 and starts directly at Stage 2.

Both stages read their plain-text files from the same small virtual CD-ROM (.iso) or FAT32 USB drive labeled CIDATA.

Preparing the CIDATA answer disk

The answer disk holds up to four plain-text files. No wizard generates them; create them in any text editor. Save every file as UTF-8 without BOM, using Linux (LF) line endings.

File names are case-sensitive and must match exactly. The Stage 1 install file ends in .json, while the three Stage 2 cloud-init files are lowercase with no file extension.

File Used in Required? What it sets
veeam-vbr-autoinstall.json Stage 1 Yes, for unattended ISO install Install mode (one line of JSON)
meta-data Stage 2 (first boot) Yes (may be empty) Appliance hostname (local-hostname)
network-config Stage 2 (first boot) No (omit for DHCP) Static IP, gateway, DNS, and adapter MAC address
user-data Stage 2 (first boot) Yes Veeam settings (accounts, NTP, API keys, license)

 

 

Disk requirements

The answer disk must meet four conditions:

  • The volume label must be CIDATA (uppercase or lowercase).

  • The filesystem must be ISO9660 (an .iso attached to a virtual CD-ROM drive) or FAT32 (a USB stick or virtual disk). NTFS and exFAT do not work because cloud-init cannot read them.

  • On a VM, attach the virtual CD-ROM drive to a SATA or IDE controller.

  • Both meta-data and user-data must exist on the disk for Stage 2 to run, even when meta-data is empty. network-config is optional.

On VMware vSphere, Stage 2 does not require a CIDATA disk or CD-ROM drive: you can pass Base64-encoded user-data directly through VM advanced parameters (guestinfo.userdata with guestinfo.userdata.encoding set to base64). See Providing User Data in vSphere Guest Information (VSA), Providing User Data in vSphere Guest Information (VIA), and the cloud-init VMware datasource documentation., unfortunately for Stage 1 - there are no such option. So we still need virtual CD-ROM or USB flash stick.
 

Stage 1: automated OS install

  1. Boot in UEFI mode. Start the VM or physical server from the Veeam ISO. Only UEFI firmware is supported. A legacy BIOS boot stops with "Only UEFI based systems are supported."

  2. GRUB scans for CIDATA. The boot loader searches every exposed CD-ROM drive, virtual disk, and USB drive for a volume labeled CIDATA.

  3. Unattended start. If the CIDATA disk contains the matching autoinstall file for that ISO, GRUB hides its menu and starts the installation without prompts:

    ISO image File on the CIDATA disk Installation started
    Veeam Software Appliance veeam-vbr-autoinstall.json Veeam Backup & Replication server
    Veeam Software Appliance veeam-em-autoinstall.json Veeam Backup Enterprise Manager
    Veeam Infrastructure Appliance veeam-proxy-autoinstall.json Veeam Infrastructure Appliance

    Because Backup & Replication and Enterprise Manager share the Software Appliance ISO, put only the file for the role you want to install on the disk. If both files are present, GRUB selects veeam-vbr-autoinstall.json first.

    The complete install file is one line of JSON:

    {"install_mode": "install", "is_singledisk": false}
    • install_mode (required) accepts install (fresh install that wipes all drives, including local backups) or reinstall (reinstalls the OS and erases the appliance settings while keeping data on the data disk; the machine must already run the same appliance).

    • is_singledisk (optional boolean) enables single-disk deployment, which is supported only for Veeam Infrastructure Appliance (veeam-proxy-autoinstall.json). When the key is absent, the installer uses false, so {"install_mode": "install"} alone is a complete file, as shown in the Veeam User Guide for Automating Installation (Veeam Software Appliance) and Automating Installation (Veeam Infrastructure Appliance). Setting true on a Software Appliance stops the install with "Single-disk installation is supported only for Veeam Infrastructure Appliance."

  4. Manual behavior without an autoinstall file. If the Stage 1 JSON file is not found, installation stops twice waiting for human input. First, GRUB displays its boot menu with no timeout and waits indefinitely. Second, before partitioning the drives, Anaconda asks: "Proceeding with the installation will irreversibly wipe all data currently residing on the drives (including the local backups, if any are present). Do you want to continue?" Selecting the reinstall option displays its own prompt confirming that the system and settings are wiped while local backups remain intact.

  5. Reboot into a base appliance. When installation finishes, Anaconda attempts to eject the installer ISO (reboot --eject) and reboots. Every newly installed appliance boots in the same base state: DHCP networking, an auto-generated short hostname such as vbr-1a2b3c4d, no passwords, and no license.

Deploying from the OVA image (skips Stage 1)

Veeam also ships Veeam Software Appliance as an OVA image (VeeamSA_13.2.0.<build>.ova), an Open Virtualization Format package built for VMware that you import directly into a supported hypervisor (see Installing Veeam Software Appliance from OVA). In 13.2, an OVA is provided for Veeam Software Appliance only (no Infrastructure Appliance OVA).

The OVA already contains the installed Rocky Linux appliance with a fixed hardware configuration: 8 vCPU, 16 GB RAM, two 240 GB disks (LVM volumes are fixed size; cloud-init does not auto-grow them), and an IDE virtual CD-ROM drive.

Because the OS is already installed, the OVA skips Stage 1 completely and boots straight into Stage 2. Attach the same CIDATA answer disk to the OVA VM's virtual CD-ROM drive and power it on. Stage 2 behaves identically to an ISO install. You do not need veeam-vbr-autoinstall.json for an OVA deployment, and leaving it on a shared CIDATA disk causes no harm because cloud-init ignores it.
 

Stage 2: first-boot configuration

  1. Boot from local disk. The appliance starts from its installed disks. The GRUB boot menu pauses for 30 seconds by default before booting Linux.

  2. cloud-init searches for a configuration source. The appliance accepts a CIDATA disk (including the same disk used in Stage 1) or Base64-encoded VMware vSphere guestinfo VM parameters, both documented in the Veeam User Guide for Automating Initial Configuration (Veeam Software Appliance) and Automating Initial Configuration (Veeam Infrastructure Appliance) (see the vSphere Guest Information section and cloud-init VMware datasource documentation). For any other cloud-init data source, the User Guide refers to the cloud-init Datasources documentation. This guide focuses on the portable CIDATA disk.

  3. Manual fallback when no valid disk is found. If no configuration source is present, or if either meta-data or user-data is missing, cloud-init disables itself and the appliance waits for manual setup. The console displays the web Initial Configuration wizard address, a one-time login code, and the console Text User Interface (TUI).

  4. Veeam setup applies the answer file. When cloud-init finds a valid CIDATA disk, it sets the hostname from meta-data, applies static networking from network-config (if present), and writes the JSON payload from user-data to /opt/veeam/hostmanager/veeamhostmanager-init.cfg. Veeam's setup service (veeam-apply-init-config) then runs and prints each step to the console:

    [   18.669854] veeam-apply-init-config[1748]: 2026-11-06 23:02:04 Applying init configuration from /opt/veeam/hostmanager/veeamhostmanager-init.cfg
    [ 18.866791] veeam-apply-init-config[1751]: Reading the answer file
    [ 19.198944] veeam-apply-init-config[1751]: Configuring the firewall
    [ 26.688422] veeam-apply-init-config[1751]: Configuring the veeamadmin account
    [ 28.030726] veeam-apply-init-config[1751]: 1/15 Adding user veeamadmin to proper groups.
    [ 98.033360] veeam-apply-init-config[1751]: 8/15 Restarting service veeam-updater
    [ 113.033281] veeam-apply-init-config[1751]: 10/15 Application: Start services
    [ 183.386383] veeam-apply-init-config[1751]: Installing the Veeam Backup & Replication license

    First-boot setup typically finishes in 3.5 to 7 minutes, with quiet gaps of about a minute while services restart.

  5. Automatic cleanup and one-time execution. When setup succeeds, the appliance securely shreds /opt/veeam/hostmanager/veeamhostmanager-init.cfg along with cloud-init's cached copies, writes /etc/cloud/cloud-init.disabled so cloud-init never runs again on future boots, and opens the Veeam Host Management sign-in screen. If setup fails, the appliance leaves the error output on the console and cannot continue automatically.

Writing the Stage 2 answer files

All values below are placeholders. Complete working templates are available in the vsa-cidata-sample.zip sample pack. (SHA-1 5530D6CFD0D72A48D6D4B68739FC12DFD1A18474)

meta-data (required, may be empty)

Set the appliance's full hostname (including the domain) in one line:

local-hostname: vsa-01.lab.internal

Using a full domain name sets the system FQDN, short name, DNS search domain (search lab.internal in /etc/resolv.conf), port 10443 TLS certificate (CN set to the FQDN, SAN containing both FQDN and short name), and the console :10443 and :443 URLs. The appliance does not register itself in DNS, so create the DNS record separately. If the appliance will join a Microsoft Windows domain, keep the hostname at 15 characters or fewer, as required in Automating Initial Configuration.

If you leave the meta-data file empty (0 bytes), the appliance keeps the unique short name generated during Stage 1 or OVA first boot (such as vbr-1a2b3c4d) with no domain. The file itself must still exist on the media even when empty. If either meta-data or user-data is missing, cloud-init logs "not a valid seed" and ignores the entire CIDATA disk.

The Automating Initial Configuration page also lists an instance-id line in meta-data. For a clean first deployment, instance-id is not required. (I will discuss that with RnD)

network-config (optional)

Include network-config to assign a static IP address, default gateway, and DNS server. Omit this file to let the appliance obtain an address through DHCP.

The example below matches the VM's network adapter by MAC address, though any supported cloud-init network configuration works:

version: 2
ethernets:
nic0:
  match:
    macaddress: "00:50:56:aa:bb:cc"
  dhcp4: false
  addresses: ["10.0.0.50/24"]
  routes:
    - to: 0.0.0.0/0
      via: 10.0.0.1
  nameservers:
    addresses: ["10.0.0.10"]

A mistake in network-config does not stop the deployment and raises no error. If the file contains an invalid value or invalid YAML, the appliance takes its address from DHCP and first-boot setup still completes, so check the address on the console after the first boot.

user-data (required)

user-data uses YAML format on the outside (from #cloud-config through content: |) to instruct cloud-init to write a JSON answer file to /opt/veeam/hostmanager/veeamhostmanager-init.cfg with owner-only (0600) permissions. The indented block under content: | is JSON, not YAML:

#cloud-config
write_files:
- path: /opt/veeam/hostmanager/veeamhostmanager-init.cfg
  permissions: '0600'
  content: |
    {
      "veeamadmin": { "password": "<password 1>", "isMfaEnabled": false },
      "veeamso":   { "isEnabled": false },
      "ntp":       { "servers": ["pool.ntp.org"], "runSync": true, "strict": false }
    }

See vsa-cidata-sample/user-data for a complete example covering MFA secrets, REST API users and keys, and a base64-encoded Veeam Backup & Replication license. For the full list of all supported JSON sections, parameters, defaults, and requirements, see the Veeam Backup & Replication User Guide:

Keep five rules in mind when editing the JSON block:

  • Every account listed in the file (veeamadmin, veeamso, and entries in users[]) must use a different password, or setup rejects the entire file with "Two or more accounts share the same password".

  • A disabled Security Officer needs only "veeamso": { "isEnabled": false } with no password field.

  • Every account in users[] gets a temporary password unless you specify otherwise: isTempPassword defaults to true for additional accounts (the Service Account role excepted), so the user must change the password at first sign-in. Set "isTempPassword": false on accounts that scripts or other unattended tools sign in with.

  • On a Hardened Repository (applianceRole.role set to veeam-lhr) with the Security Officer disabled, veeamadmin and every additional Host Administrator account must have MFA enabled, or setup rejects the file with "Accounts with the 'admin' role must have MFA enabled". With the Security Officer enabled, the same accounts are accepted without MFA.

  • Unknown JSON keys at any level cause a parse error and reject the entire file. Hostname, IP address, and DNS are intentionally not part of this JSON; cloud-init handles them via meta-data and network-config.
     

Using password hashes instead of plaintext passwords

Instead of storing plaintext passwords in user-data, you can provide a SHA-512 password hash and set "isPasswordCrypted": true:

{
 "name": "vbr-svc",
 "password": "$6$YP.i6.kuo725xd92$a.nOxdF9VupgP.F0u/Dqj/14aaYWvqjCnnNYIjfwPeAAamAIDfcdVRWoiGbNo.8Jv9EOIdlz.tsdMBR4hf3im0",
 "isPasswordCrypted": true,
 "role": "Service Account",
 "description": "VBR service account",
 "vbrRoles": ["Backup Administrator"],
 "isVbrServiceAccount": true
}

Generate the hash with openssl:

printf '%s\n' '<your strong FIPS compliant password>' | openssl passwd -6 -stdin

The output has three parts separated by $: 6 selects the SHA-512 algorithm, YP.i6.kuo725xd92 is the random salt, and the remaining string is the hash:

$6$YP.i6.kuo725xd92$a.nOxdF9VupgP.F0u/Dqj/14aaYWvqjCnnNYIjfwPeAAamAIDfcdVRWoiGbNo.8Jv9EOIdlz.tsdMBR4hf3im0

Because appliance accounts are ordinary Linux users, Veeam writes this hash directly to /etc/shadow. When a user signs in to the web UI or TUI, Linux hashes the entered password with the stored algorithm and salt and compares the two hashes. If they match, access is granted. Nobody needs to store or decrypt the original password, and the hash cannot be reversed back into plaintext.
 

Official references

1 comment

Chris.Childerhose
Forum|alt.badge.img+23

This is something I definitely need to look at so I can automate all of our Veeam stack.  Thanks for sharing this one. 👌🏼