VMware Cloud Community
AxisNL
Contributor
Contributor

esxcli change advanced settings from script

Guys and girls,

I want to set an advanced system setting in the kickstart file. When I install a new ESXi server, I have to set the setting 'Config.HostAgent.ssl.keyStore.allowSelfSigned' to true, because my nimble vaai plugin uses self-signed certs.

But, I have no idea how to set this value from a script. I messed around with the 'esxcli system settings advanced' command, but that does not cover the hostagent settings.

Any ideas?

0 Kudos
1 Reply
depping
Leadership
Leadership

The way I have done this in the past is as follows in a script:

vim-cmd hostsvc/advopt/update Config.HostAgent.ssl.keyStore.allowSelfSigned bool "true"

0 Kudos