0.0
No commit activity in last 3 years
No release in over 3 years
VM deployments on ESX using PXE as installation method. Add dynamic leases to DHCP server through OMAPI
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.0.0
>= 0
>= 0.2.5
~> 1.6.4
>= 0
>= 0

Runtime

 Project Readme

EsxMagicWand¶ ↑

EsxMagicWand deploy VMs on ESXi hypervisors and starts a PXE installation

Installation¶ ↑

$ gem install esxmagicwand

Example¶ ↑

  • Create a VM conf as following. Replace example values. File centos6_1.conf:

    [dhcp-server]
    ip=DHCP_SERVER_IP
    port=7911
    
    [esx-server]
    ip=ESX_SERVER_IP
    user=root
    password=ROOT_PASSWORD
    datastore=datastore1
    
    [vm]
    name=CentOS6
    size=20000
    cpus=1
    memory=3000
    os_type=centos64Guest
    network1=VM Network
    network2=Vlan 100
    
    lease_name=centos6_test1
    ip=192.168.20.2
    mask=255.255.255.0
    pxe_path=centos6/pxelinux.0
  • Deploy

    $ deploy_vm centos6_1.conf
  • Undeploy

    $ undeploy_vm centos6_1.conf