Installing Veeam Infrastructure Appliance in Unattended Mode

In the unattended mode, the installer installs and configures Veeam Infrastructure Appliance without user interaction. The installer reads the settings from an ISO file or USB drive that has the cidata volume label and contains the following files:

  • veeam-proxy-autoinstall.json — the autoinstall file with the installation settings. The installer does not display the boot menu or ask you to confirm that the disks will be erased.
  • user-data — the answer file for the initial configuration.
  • meta-data — the instance ID and hostname of the appliance.
  • [Optional] network-config — static IP settings.

Important

Installing additional Linux packages or 3rd party applications or changing OS settings (other than those that can be controlled by the Veeam Host Management console) on Veeam appliances is not supported. Veeam Customer Support cannot provide technical support for appliances with unsupported modifications due to their unpredictable impact on the security, stability and performance of the appliance. For more information, see this KB article.

Before You Begin

Consider the following:

  • Veeam Infrastructure Appliance must be installed on a machine that meets the system requirements. For more information, see System Requirements.
  • You must have the Veeam Infrastructure Appliance ISO file. You can download it from the Additional downloads section of the Product Downloads page in your Veeam account. If you plan to install Veeam Infrastructure Appliance on a physical server, write the ISO file to a bootable USB drive with Rufus. When prompted, select the Write in DD Image mode option.
  • The names of the user-data, meta-data and network-config files must be exactly as shown, without a file extension.
  • By providing the answer file, you accept the Veeam license agreement and the license agreements for 3rd party components.
  • The user data contains passwords. After the initial configuration completes, the appliance deletes the answer file from the system disk, but the ISO file, USB drive or vSphere guest information still contains it.
  • By default, the appliance obtains IP settings for all network adapters from a DHCP server. To specify static IP settings, create the network-config file. If you provide the user data as vSphere guest information, you must add the content of the network-config file to the meta-data file under the network key instead.
  • Every time the machine boots from the Veeam Infrastructure Appliance installation media while the ISO file or USB drive with the autoinstall file is attached, the installer erases the disks.

Automatically Installing and Configuring Veeam Infrastructure Appliance

To install and configure Veeam Infrastructure Appliance in the unattended mode, do the following:

  1. Prepare the machine where you plan to install Veeam Infrastructure Appliance. Do one of the following:
  • For a VM, create a VM with UEFI firmware and 2 CD/DVD drives. If you plan to specify static IP settings, note the MAC address of the VM network adapter.
  • For a physical server, make sure that the server boots in UEFI mode. If you plan to specify static IP settings, note the MAC address of the server network adapter.
  1. Create a file named veeam-proxy-autoinstall.json in the following format:

{

  "install_mode": "install"

}

The autoinstall file can contain the following parameters:

Automatically Installing and Configuring Veeam Infrastructure Appliance

Parameter

Required

Default

Description

install_mode

Yes

Possible values:

  • install — erases all disks and installs Veeam Infrastructure Appliance.
  • reinstall — reinstalls the operating system and erases the appliance settings. In the Standard (Multi-Disk) deployment, data on the data disks is kept. The machine must already run Veeam Infrastructure Appliance, and is_singledisk must match the existing deployment.

is_singledisk

No

false

Specify true to install Veeam Infrastructure Appliance in the Single-Disk deployment, on one disk.

By default, Veeam Infrastructure Appliance is installed in the Standard (Multi-Disk) deployment, with separate system and data disks. For more information on deployment types, see Step 2. Select Deployment Type.

  1. Create a text file named user-data in the following format:

#cloud-config

write_files:

  - path: /opt/veeam/hostmanager/veeamhostmanager-init.cfg

    permissions: '0600'

    content: |

      {

        "veeamadmin": {

          "password": "Ex@mp13C0mpl3xP@ssw0rd",

          "mfaSecretKey": "JVDECICTMVRXEZLU"

        },

        "veeamso": {

          "password": "Ex@mp13C0mpl3xP@ssw0rd2",

          "mfaSecretKey": "KRSXG5CTMVRXEZLU"

        }

      }

Replace the JSON under content with your answer file. Indent each line of the answer file by 6 spaces, as in the example. For more information on answer file parameters, see Answer File Parameters.

Tip

By default, the appliance gets the Infrastructure Server role. To assign another role, add the applianceRole section to the answer file.

  1. Create a text file named meta-data with the following content:

instance-id: <unique-value>

local-hostname: <hostname>

Replace <unique-value> with a unique value, for example, via-01, and <hostname> with the appliance hostname. The local-hostname line is optional.

  1. [Optional] To specify static IP settings, create a text file named network-config in the following format:

Network Configuration Example and Parameters

version: 2

ethernets:

  nic0:

    match:

      macaddress: "00:50:56:00:00:01"

    addresses: [192.168.10.10/24]

    routes:

      - to: 0.0.0.0/0

        via: 192.168.10.1

    nameservers:

      addresses: [192.168.10.53]

The network-config file can contain the following parameters:

Automatically Installing and Configuring Veeam Infrastructure Appliance

Parameter

Required

Default

Description

version

Yes


Specify 2.

ethernets.<name>

For each network adapter


Section for a network adapter. You can specify any name.

To configure multiple network adapters, add a section for each adapter.

match.macaddress

For each network adapter


MAC address of the network adapter. You can find it in the VM settings.

If the virtualization platform assigns MAC addresses at the first startup, specify a static MAC address for the network adapter.

dhcp4

No

false

Specify true to obtain IP settings from a DHCP server.

addresses

No


List of IP addresses with prefix length, for example, 192.168.10.10/24.

routes[].to, routes[].via

No


Default gateway.

Specify 0.0.0.0/0 in to and the gateway address in via. You cannot specify default in to.

nameservers.addresses

No


List of DNS servers.

Note

If you plan to provide the user data as vSphere guest information, add a network key to the meta-data file instead. Under the key, add the network-config content in the following format:

instance-id: <unique-value>

local-hostname: <hostname>

network:

  version: 2

  ethernets:

    nic0:

      match:

        macaddress: "00:50:56:00:00:01"

      addresses: [192.168.10.10/24]

      routes:

        - to: 0.0.0.0/0

          via: 192.168.10.1

      nameservers:

        addresses: [192.168.10.53]

Important

If your network-config content contains invalid values, the appliance obtains IP settings for all network adapters from a DHCP server. The initial configuration completes without an error.

After that, you can specify network settings in the Veeam Host Management web UI or TUI. For more information, see Configuring Network Interfaces.

  1. Make the files available to the machine. Do one of the following:
  • For a VM, create an ISO file that has the cidata volume label and contains the files that you created. For example, you can use the xorriso utility on Linux or in Windows Subsystem for Linux (WSL):

xorriso -as mkisofs -output seed.iso -volid cidata -joliet -rock veeam-proxy-autoinstall.json user-data meta-data

If you created the network-config file, add it to the end of the command.

  • For a physical server, use a USB drive with the FAT32 file system and the CIDATA volume label. Copy the files that you created to the drive. Connect the drive to the server before you start the installation.
  • Alternatively, for a vSphere VM, you can provide the data in the vSphere guest information of the VM:
  1. Create an ISO file that has the cidata volume label and contains only the autoinstall file:

xorriso -as mkisofs -output seed.iso -volid cidata -joliet -rock veeam-proxy-autoinstall.json

  1. Encode the user-data and meta-data files in Base64. For example, run one of the following commands:

In Microsoft PowerShell:

[Convert]::ToBase64String([IO.File]::ReadAllBytes("C:\cloud-init\user-data"))

[Convert]::ToBase64String([IO.File]::ReadAllBytes("C:\cloud-init\meta-data"))

On Linux:

base64 -w0 user-data

base64 -w0 meta-data

  1. In the vSphere Client, right-click the VM and select Edit Settings.
  2. On the Advanced Parameters tab, add the guestinfo.userdata and guestinfo.metadata parameters with the Base64-encoded content of the user-data and meta-data files.
  3. Add the guestinfo.userdata.encoding and guestinfo.metadata.encoding parameters with the base64 value.
  4. Click OK.
  1. Attach the installation media to the machine. Do one of the following:
  • For a VM, mount the Veeam Infrastructure Appliance ISO file and the ISO file with the autoinstall file to 2 CD/DVD drives. Make sure that the VM boots from the Veeam Infrastructure Appliance ISO file.
  • For a physical server, connect the bootable USB drive with the Veeam Infrastructure Appliance ISO file and the USB drive with the files. Make sure that the server boots from the bootable USB drive.
  1. Power on the machine. The installation starts automatically.

After the installation finishes, the machine reboots from the system disk, and the appliance performs the initial configuration. When the initial configuration completes, the appliance console displays general information about the appliance.

Note

If the initial configuration does not complete, see the Troubleshooting Initial Configuration section.

  1. Remove the installation media. Do one of the following:
  • For a VM, unmount the Veeam Infrastructure Appliance ISO file and the ISO file with the autoinstall file from the CD/DVD drives. Then delete the ISO file with the autoinstall file.
  • For a physical server, disconnect the bootable USB drive and the USB drive with the files. Then delete the files from the USB drive.
  1. If you provided the user data as vSphere guest information, remove it from the VM:
  1. Shut down the VM.
  2. In the vSphere Client, right-click the VM and select Edit Settings.
  3. On the Advanced Parameters tab, clear the values of the guestinfo.userdata, guestinfo.userdata.encoding, guestinfo.metadata and guestinfo.metadata.encoding parameters.
  4. Click OK and power on the VM.
  1. Add the appliance to the backup infrastructure as described in the Adding Veeam Infrastructure Appliances section.

Troubleshooting Initial Configuration

The initial configuration does not complete in the following cases:

  • The appliance did not receive the user data. In this case, the appliance console displays the configuration code.
  • The answer file contains invalid values. In this case, the appliance console displays an error.

In both cases, you can retry the automated initial configuration or perform it manually as described in the Performing Initial Configuration section.

Important

If the error appears after the Marking the appliance as configured message, do not retry the initial configuration. Correct the user-data file and perform the unattended installation again from the start.

To retry the automated initial configuration, do the following:

  1. Correct the cause of the error:
  • If the appliance did not receive the user data, make sure that the user-data and meta-data files are named exactly as shown and are in the root of the ISO file or USB drive.
  • If the answer file contains invalid values, correct the user-data file.
  1. Shut down the machine.
  2. If the Veeam Infrastructure Appliance installation media is still attached, remove it.
  3. Provide the corrected files to the appliance. Do one of the following:
  • If you use an ISO file:
  1. Specify a new instance-id value in the meta-data file.
  2. Create a new ISO file that has the cidata volume label and contains only the user-data and meta-data files and, if you created it, the network-config file.
  3. Mount the new ISO file instead of the ISO file with the autoinstall file.
  • If you use a USB drive:
  1. Copy the corrected user-data file to the drive.
  2. Specify a new instance-id value in the meta-data file on the drive.
  3. Delete the autoinstall file from the drive.
  4. Connect the drive to the server.
  • If you use vSphere guest information:
  1. Specify a new instance-id value in the meta-data file.
  2. Encode the user-data and meta-data files in Base64.
  3. In the vSphere Client, right-click the VM and select Edit Settings.
  4. On the Advanced Parameters tab, replace the values of the guestinfo.userdata and guestinfo.metadata parameters with the Base64-encoded content of the user-data and meta-data files.
  5. Click OK.
  1. Power on the machine. The appliance performs the initial configuration again.

Page updated 2026-12-04

Page content applies to build 13.2.0.193