Skip to content
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

Output of openvmtools #194

Closed
curropar opened this issue Dec 17, 2021 · 1 comment
Closed

Output of openvmtools #194

curropar opened this issue Dec 17, 2021 · 1 comment

Comments

@curropar
Copy link
Contributor

curropar commented Dec 17, 2021

Hi,

I was trying to find a way of filtering the VMs with " Installed,running,but not managed by VMWare. " from the output of -S runtime -s tools , when I found there's an undocumented option, --open_vm_tools_ok, that almost does that.

The option does not increment the counter for not ok VMs, but still gets the VM in the output. In my opinion, given that the output throws just VMs with problems and we called the script with --open_vm_tools_ok, those VMs should not be in the output.

To change the behavior, it would only require to move the referenced line of code just 6 lines, below the next else:

$tools_out = $tools_out . "VM " . $vm->name . " Installed,running,but not managed by VMWare. " . $multiline;

Thanks for checking it out!

@curropar
Copy link
Contributor Author

Issue duplicated:
#168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant