Skip to content

Packer template & setup script for a Vagrant box of a VMware vCenter Server simulator

Notifications You must be signed in to change notification settings

tehranian/vagrant-vcenter-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer template & setup script to create a Vagrant box of VMware vCenter Server Appliance running in simulator mode.

The resulting Vagrant box will have a simulated inventory of several Hosts, Clusters, VMs, etc with metrics also being simulated.

Requirements

  • ovftool
  • packer
  • An OVA of VMware vCenter Server Appliance. Contact your VMware reseller for details :)

Example

$ ./build.sh -u VMware-vCenter-Server-Appliance-5.5.0.5100-1312297_OVF10.ova
The manifest validates
Source is signed and the certificate validates
Opening VMX target: output/vcsa-55.vmx
Writing VMX file: output/vcsa-55.vmx
Transfer Completed                    
Completed successfully
+ packer build vcenter-55-simulator.json
vmware-vmx output will be in this color.

==> vmware-vmx: Cloning source VM...
==> vmware-vmx: Starting virtual machine...

... < snip > ...

    vmware-vmx (vagrant): Compressing: vcsa-55-disk1-cl1.vmdk
    vmware-vmx (vagrant): Compressing: vcsa-55-disk2-cl1.vmdk
Build 'vmware-vmx' finished.

==> Builds finished. The artifacts of successful builds are:
--> vmware-vmx: 'vmware' provider box: output/vcenter-55-simulator.box

Screen Shots

All of the entities & performance metrics below were automatically generated by the simulator:

vSphere Web Client Dashboard

Showing off VM metrics

About

Packer template & setup script for a Vagrant box of a VMware vCenter Server simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages