-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running on ESXi 3.5 #16
Comments
Hi Rob, I believe this would break the check for the other versions. something like the following sed does the trick ESX_VERSION=$(vmware -v | sed -e 's#.([3-9].[0-9].[0-9]).#\1#') but that wouldn't catch 3i. Although it does match any version formatted x.x.x. So that might be good enough as 3.5.0 is also in the line. using grep on the other hand might be more flexible/readable if syntax is changed in future versions ESX_VERSION=$(vmware -v) if echo "${ESX_VERSION}" | grep -E '5.0.0|5.1.0' >/dev/null 2>&1; then Best regards, On 1-feb.-2013, at 01:05, RobMarshall109 [email protected] wrote:
|
@fdleersn Thanks for helping out, it looks like the change in the case statement did in fact break ESXi 3.5 version checking. I've gone ahead and implemented your solution and will be pushing it up to the development branch. Thanks |
I've been running ghettoVCB for a while now and it has been working great. I just updated to the latest version and found that on my 1 ESXi 3.5 host the script would fail with the error - "You're not running ESX(i) 3.5, 4.x, 5.x!".
I found by changing following line, the issue was resolved
to
The vmware version info comes back as the following on my host:
The text was updated successfully, but these errors were encountered: