Skip to content
Philippe Dellaert edited this page Feb 3, 2014 · 4 revisions

Welcome to the vSphere-Python wiki!

Todo page

multi-clone.py

multi-clone is a Python script which allows you to clone a virtual machine or virtual machine template into multiple new virtual machines in a VMware vSphere environment.

This script has the following capabilities:

  • Deploy a specified amount of virtual machines
  • Deploy in a specified folder
  • Deploy in a specified resource pool
  • Print out information of the main network interface (mac and ip, either IPv4 or IPv6)
  • Run a post-processing script with 3 parameters (virtual machine name, mac and ip)
  • Print logging to a log file or stdout
  • Do this in a threaded way

Check the multi-clone.py documentation for more information on the options and capabilities.

pysphere-multi-clone.py

This script can be used to deploy multiple VMs from a template in an automatic way, with the possibility to add a post script. The post script gets two parameters: the VM name and possibly the IP address (either IPv4 or IPv6, depending on the parameters)

Check the pysphere-multi-clone.py documentation for more information on the options and capabilities.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch
  3. Write your change
  4. Submit a Pull Request using Github
Clone this wiki locally