Use these commands when you are deploying Unified Access Gateway and configuring shell commands to run on the first boot and every boot.

Caution: This feature is restricted by guidelines to indicate VMware supported use cases only. VMware strictly recommends not to use these fields for running any other commands.

Example of the INI File

[General]
...
commandsFirstBoot=<commands_to_run>
commandsEveryBoot=<commands_to_run>
...
Configuration Parameter Description

commandsFirstBoot

Semi-colon separated list of commands to be executed during the first boot of Unified Access Gateway . The maximum length of the commands is 8 kB.
commandsEveryBoot Semi-colon separated list of commands to be executed during every boot of Unified Access Gateway. The maximum length of the commands is 8 kB.

Supported Use Cases

Enable the conventional DNS lookup for .local addresses instead of attempting mDNS

commandsFirstBoot=mkdir -p /etc/systemd/resolved.conf.d; chmod 755 /etc/systemd/resolved.conf.d; echo -e "[Resolve]\nDomains=local\n" > /etc/systemd/resolved.conf.d/DomainsLocal.conf; chmod 644 /etc/systemd/resolved.conf.d/DomainsLocal.conf; systemctl restart systemd-resolved