Created
February 1, 2021 16:38
-
-
Save lamw/cd9881727237148e8d5bb8f8435b4c2e to your computer and use it in GitHub Desktop.
Fix vSphere UI downloading plugin-in: com.vmware.h4.vsphere.client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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