"ESXi Shell for the Host has been enabled"を消す

性格的に(笑)CLIな命綱は残すのですが、vSphere Clientで"!"が出たままなのは精神衛生上よろしくない。

ということで、VMware KBから:

===

To disable these warnings:

  1. Select the ESXi host from the Inventory.
  2. Select Advanced Settings from the Software menu.
  3. Navigate to UserVars > UserVars.SuppressShellWarning.
  4. Set the value from 0 to 1.
  5. Click OK.

To disable these warnings using esxcli:

  1. Connect to the ESXi host through SSH using root credentials.
  2. Run this command:

    esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1