Skip to main content

2026 年 3 月 14 日

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

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…