Skip to content

Instantly share code, notes, and snippets.

@lamw
Created February 1, 2021 16:38
Show Gist options
  • Select an option

  • Save lamw/cd9881727237148e8d5bb8f8435b4c2e to your computer and use it in GitHub Desktop.

Select an option

Save lamw/cd9881727237148e8d5bb8f8435b4c2e to your computer and use it in GitHub Desktop.
Fix vSphere UI downloading plugin-in: com.vmware.h4.vsphere.client
SERVICE_IDS=$(/usr/lib/vmware-lookupsvc/tools/lstool.py list --ep-type com.vmware.cis.vsphereclient.plugin --url http://localhost:7090/lookupservice/sdk --type vsphere.client --id-only | grep -v JAVA)
VC_USERNAME='administrator@vsphere.local'
VC_PASSWORD='VMware1!'
for SERVICE_ID in ${SERVICE_IDS[@]};
do
/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user ${VC_USERNAME} --password "${VC_PASSWORD}" --id ${SERVICE_ID} --no-check-cert
done
vmon-cli -r vsphere-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment