--- title: "Automating Initial Configuration" description: "You can automate the initial configuration of Veeam Software Appliance. To do this, you provide the appliance with user data that contains an answer file. At startup, the appliance reads the user data through cloud-init and applies the answer file." canonical: "https://helpcenter.veeam.com/docs/vbr/em/deployment_linux_silent_deploy_cloud_init.html" breadcrumb: "Veeam Backup Enterprise Manager Guide > Deployment > Enterprise Manager Deployment on Linux > Veeam Software Appliance Installation > Veeam Software Appliance Installation in Unattended Mode > Automating Initial Configuration" dateModified: "2026-12-01" --- # Automating Initial Configuration You can automate the initial configuration of Veeam Software Appliance. To do this, you provide the appliance with user data that contains an answer file. At startup, the appliance reads the user data through [cloud-init](https://docs.cloud-init.io/en/latest/reference/datasources.html) and applies the answer file. You can provide the user data in one of the following data sources: - *ISO file* — you mount an ISO file with the user data to the appliance. You can use this data source on any virtualization platform. - *VMware vSphere guest information* — you specify the user data in the advanced parameters of the VM. This data source does not require an ISO file or a CD/DVD drive. - *Other cloud-init data sources* — for example, a configuration drive. For the list of data sources, see the [cloud-init documentation](https://docs.cloud-init.io/en/latest/reference/datasources.html). ## Before You Begin Consider the following: - The appliance applies the answer file only if the appliance is not configured yet. - If you provide an 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 data source still contains it. - By default, the appliance obtains IP settings for all network adapters from a DHCP server. To specify static IP settings, add a `network-config` file to the ISO file as described in the [Providing User Data in ISO File](deployment_linux_silent_deploy_cloud_init.md#user_data_iso) section. ## Performing Initial Configuration with Answer File To automate the initial configuration of Veeam Software Appliance, do the following: 1. Create a file named `user-data` with the following content: ``` #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 as in the example. For more information on answer file parameters, see [Answer File Parameters](deployment_linux_silent_deploy_answer_file.md). 2. Install or deploy Veeam Software Appliance as described in the [Installing Veeam Software Appliance from ISO](deployment_linux_iso_install.md) section. Do not perform the initial configuration. To install Veeam Software Appliance without user interaction, see [Automating Installation](deployment_linux_silent_deploy_install.md). ::: note If you install the appliance on a physical server, connect a USB drive with the user data before you start the installation. To prepare the drive, see the [Providing User Data in ISO File](deployment_linux_silent_deploy_cloud_init.md#user_data_iso) section. ::: 3. Provide the user data to the appliance as described in the [Providing User Data in ISO File](deployment_linux_silent_deploy_cloud_init.md#user_data_iso) or [Providing User Data in vSphere Guest Information](deployment_linux_silent_deploy_cloud_init.md#user_data_vsphere) section. For other data sources, see the [cloud-init documentation](https://docs.cloud-init.io/en/latest/reference/datasources.html). 4. Boot the appliance from the system disk. If the Veeam Software Appliance installation ISO file is still mounted, unmount it first. When the initial configuration completes, the appliance console displays the appliance address. To manage the appliance, open `https://:10443` in a web browser and log in as *veeamadmin*. ::: important If the answer file contains invalid values, the initial configuration fails, and the appliance console displays an error. If the error appears before the *Marking the appliance as configured* message, correct the `user-data` file. If you provide the user data in an ISO file, also specify a new `instance-id` value in the `meta-data` file. Then repeat steps 3–4. If the error appears after this message, deploy the appliance again. ::: 5. Unmount and delete the ISO file with the user data, or remove the `guestinfo.userdata` and `guestinfo.userdata.encoding` parameters from the VM. ### Providing User Data in ISO File {#user_data_iso} To provide the user data in an ISO file, do the following: 1. Create a file named `meta-data` with the following content: ``` instance-id: local-hostname: ``` Replace `` with a unique value, for example, `vsa-01`, and `` with the appliance hostname. The `local-hostname` line is optional. ::: note If you want to add the appliance to a Microsoft Windows domain, specify a hostname of 15 characters or fewer. ::: 2. [Optional] To specify static IP settings, create a file named `network-config` with the following content: ``` 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] ``` ::: dropdown Network Configuration Parameters

Parameter

Required

Default

Description

version

Yes

Specify 2.

ethernets.<name>

For each network adapter

Section for a network adapter. <name> is 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.

::: important If the `network-config` file contains invalid values, the appliance obtains IP settings for all network adapters from a DHCP server. The initial configuration completes without an error. To specify the network settings after that, use the Veeam Host Management web UI or TUI. For more information, see [Configuring Network Interfaces](hmc_configure_interfaces.md). ::: ::: 3. Create an ISO file that has the `cidata` volume label and contains the `user-data` and `meta-data` files. For example, you can use the [xorriso](https://www.gnu.org/software/xorriso/) utility on Linux or in Windows Subsystem for Linux (WSL): ``` xorriso -as mkisofs -output seed.iso -volid cidata -joliet -rock user-data meta-data ``` If you created the `network-config` file, add it to the end of the command. 4. Mount the ISO file to the appliance in the virtualization management software. ::: note If you install Veeam Software Appliance on a physical server, use a USB drive with the FAT32 file system and the `CIDATA` volume label instead of the ISO file. Copy the `user-data` and `meta-data` files and, if you created it, the `network-config` file to the drive. Connect the drive to the server before you start the installation. ::: ### Providing User Data in vSphere Guest Information {#user_data_vsphere} To provide the user data in the [vSphere guest information](https://docs.cloud-init.io/en/latest/reference/datasources/vmware.html) of the VM, do the following: 1. Encode the `user-data` file in Base64. For example, run one of the following commands: - In Microsoft PowerShell: ``` [Convert]::ToBase64String([IO.File]::ReadAllBytes("C:\cloud-init\user-data")) ``` - On Linux: ``` base64 -w0 user-data ``` 2. Power off the VM. 3. In the vSphere Client, right-click the VM and select **Edit Settings**. 4. On the **Advanced Parameters** tab, add the following parameters: - `guestinfo.userdata` — specify the Base64-encoded content of the `user-data` file. - `guestinfo.userdata.encoding` — specify `base64`. 5. Click **OK**.