环境
python3
wget https://pypi.python.org/packages/source/p/pyvmomi/pyvmomi-6.0.0.tar.gz
解压缩
python setup.py install
测试
[root@satl sample]# ./poweronvm.py -s **** -u **** -p **** -v nginx-03-67.52 Virtual Machine(s) have been powered on successfully
转载于:https://blog.51cto.com/superbigsea/1746711