Skip to main content

2026 年 7 月 20 日

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

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…