To disable these warnings using vSphere Client:
- Select the ESXi host from the Inventory.
- Click the Configuration tab.
- Click Advanced Settings in the Software menu.
- Navigate to UserVars > UserVars.SuppressShellWarning.
- Set the value from 0 to 1.
- Click OK.
To disable these warnings using esxcli:
- Connect to the ESXi host through SSH using root credentials.
- Run this command:
vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1
To enable these warnings using esxcli:
- Connect to the ESXi host through SSH using root credentials.
- Run this command:
vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 0