环境
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
来源:oschina
链接:https://my.oschina.net/u/4296417/blog/4317400