Trying to temporarily lower the ESXi acceptance level when installing VIBs
Posted by jpluimers on 2019/05/06
This is an interesting question at [WayBack] How can I lower the ESXI acceptance level when a forced install has been done? – Server Fault.
The default level on ESXi 6.5 is this:
# esxcli software acceptance get
PartnerSupported
Since I had ghettoVCB installed with the -f
option, installing any PartnerSupported
VIB would result in this error:
[DependencyError] VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility rule checks: ['(line 24: col 0) Element vib failed to validate content'] VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0's acceptance level is community, which is not compliant with the ImageProfile acceptance level partner To change the host acceptance level, use the 'esxcli software acceptance set' command. Please refer to the log file for more details.
This fails:
# esxcli software acceptance set --level=CommunitySupported
[AcceptanceConfigError]
Unable to set acceptance level of community due to installed VIBs virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 having a lower acceptance level.
Please refer to the log file for more details.
The workaround is to uninstall virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0
, then install thePartnerSupported
VIB, then re-install ghettoVCB with the --force
option or with lowered acceptance level:
- Remove the ghettoVCB installation:
esxcli software vib remove -n ghettoVCB
- Perform the steps that ghettoVBC install prevented (install a non-community VIB, upgrade your ESXi system, etc)
- Reinstall the ghettoVCB by either:
- go from the offline bundle from https://github.com/lamw/ghettoVCB/:
- Download https://github.com/lamw/ghettoVCB/raw/master/vghetto-ghettoVCB-offline-bundle.zip and put it on your ESXi host, then and unzip it to
/tmp
cd /tmp && unzip /vmfs/volumes/Samsung512NVME/base/VIB/vghetto-ghettoVCB-offline-bundle.zip
esxcli software vib install -v /tmp/vib20/ghettoVCB/virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0.vib -f
- Download https://github.com/lamw/ghettoVCB/raw/master/vghetto-ghettoVCB-offline-bundle.zip and put it on your ESXi host, then and unzip it to
- or go from the VIB file; either:
- Download https://github.com/lamw/ghettoVCB/raw/master/vghetto-ghettoVCB.vib and put it on your ESXi host in
/tmp
then esxcli software vib install -v /tmp/vghetto-ghettoVCB.vib -a
- Download https://github.com/lamw/ghettoVCB/raw/master/vghetto-ghettoVCB.vib and put it on your ESXi host in
- go from the offline bundle from https://github.com/lamw/ghettoVCB/:
–jeroen
Leave a Reply