Sunday, January 24, 2016

vCenter Server - Host Profiles error "the option uservars.suppressShellWarning"

Receive the error "the option uservars.suppressShellWarning"

This is due to a previous selection to suppress warnings for instance for enable SSH on your ESXi host.


To fix this you can either change the host profile to enable this suppression

Advanced Configuration Settings -> Advanced Options -> Advanced configuration option
Click the green plus "+" sign symbol to create a new option.
Select advanced option "configured a fixed option"
The name of the option "UserVars.SuppressShellWarning"
Set the value to "1"

If you don't want to suppress the warnings anymore you can disable it through the advanced settings of the ESXi host using vSphere web client:

Select ESXi host -> Manage tab -> Settings
Select Advanced System settings
easiest way is to search in filter for "suppress"
This will list the UserVars.SuppressShellWarning.
Change the settings to 0.