Skip to main content

July 28, 2026

Configurable Boot Time Commands for First Boot and Every Boot

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 Omnissa supported use cases only. It is strictly recommended 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 ParameterDescription
commandsFirstBootSemi-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.
commandsEveryBootSemi-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

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…