How to automate vmware-vsphere-cli-distrib install without EULA questions


Unpacking a tar.gz to install something is enough pain, to fully automate this I need the installer to run without asking stupid questions.

So after a quick read of the code I found the following switches.


BOOM, hand’s off install. Now to package this stuff with fpm, add the above line with full path to and make package

fpm -s dir -t rpm -v 6.0.0 -a x86_64 --after-install /opt/vmware-vsphere-cli-distrib

This can be cleaner by adding an uninstall switch