环境
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
原文地址:http://superbigsea.blog.51cto.com/6862263/1746711