lamw / ghettoVCB

ghettoVCB
MIT License
1.29k stars 365 forks source link

Latest vib still not supporting ESXi 7.0.2 #259

Open stefantimm opened 2 years ago

stefantimm commented 2 years ago

The current vib available for download still fails on ESXi 7.0.2 (and 7.0.3 probably, too).

This could be easily fixed in the script, but security measures prevent any modification. The workaround, as discussed here before, is to not use the vib and install the script in a datastore.

This could be easily avoided if someone created a vib that supports the latest version(s) of ESXi.

Is there any particular reason this hasn't happened yet? If vibs are generally a bad idea, I'd be happy to give up this installation method.

bash-public-willpower commented 2 years ago

I've installed and I am running ghettovcb with ESXi-version: 7.0.3, ESXi-Build: 19193900. No problems so far. What exactly is the error output you are seeing?

stefantimm commented 2 years ago

I installed the latest vib, ghettoVCB.sh shows a LAST_MODIFIED_DATE 2020_10_10 and it certainly does not run on ESXI 7.0.2 and above due to a version check in line 303.

Did you install using the vib? Does line 303 in ghettoVCB.sh include 7.0.2 and 7.0.3?

bash-public-willpower commented 2 years ago

I gave my .ash_history a quick look and noticed that I ran the install with the -f|--force parameter. esxcli software vib install -v /tmp/vghetto-ghettoVCB.vib -f

It seems like that skipped the version check. But you are right, would be better if the vib was updated.

EDIT: Your LAST_MODIFIED_DATE seems very old. Here is what mine looks like

ghettoVCB for ESX/ESXi 3.5, 4.x, 5.x, 6.x & 7.x Author: William Lam http://www.virtuallyghetto.com/ Documentation: http://communities.vmware.com/docs/DOC-8760 Created: 11/17/2008 Last modified: 2021_10_20 Version 1