Skip to content
Different scripts to create, edit and manage vSphere virtual machines using Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
perl
vm_templates
LICENSE
README.md
vm_conf.sh
vm_create.sh
vm_gethost.sh
vm_power.sh
vm_queryhardware.sh
vm_reconfig.sh

README.md

vsphere-scripts

This repository contains different scripts to create, edit and manage vSphere virtual machines using Perl.

Copyright

The perl scripts (in the perl/ directory) are based on VMware, Inc. scripts (vmcreate.pl and vmreconfig.pl).

The modifications and the rest of the scripts were made by Louis Brunner, licensed under MIT license.

Configuration

You must first configure your vSphere environment by editing the vm_conf.sh and replacing the default values with the correct ones adapted to your installation.

Usage

You must be in the scripts directory to execute them.

./vm_create.sh example 2 512 100000

You can easily add more customization by adding sed rules in the .sh scripts to replace strings in the templates located in the vm_templates / directory (e.g. to change the datacenter of the VM).

You can’t perform that action at this time.