Using esxcli:
vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1
Using the vSphere Client:
- Select the ESXi host from the Inventory.
- Click the Configuration tab.
- Select Advanced Settings in the Software list.
- Locate UserVars in the left list.
- Locate UserVars.SuppressShellWarning in the right list.
- Set the value from 0 to 1.
- Click OK.
Using the Host Web Client:
- From the Navigator under Host select Manage.
- Select Advanced settings in the System tab.
- Locate UserVars.SuppressShellWarning.
- Select it and click Edit option.
- Set the new value to 1 and click Save.