This is to let you have your own all-in-oneclick server for ESXi auto deployment.
Steps:
- Clone this repo
- Create directory (roles/esxi_director/files/photon/), and put photon ovf files to it
- Download ESXi 5.5U3 and 6.0U1 build (iso files) to: roles/esxi_director/files/
- Prepare a Ubuntu server 14.04 64bits
- Setup passwordless access from your compute to Ubuntu server
- Add server info (ip username) to hosts file
- Run following commands to get the server ready:
ansible-playbook sites.yml -i hosts -u [SSH_USER] --ask-sudo-pass
What will you get:
- A jenkins job to deploy ESXi from bare metal
- A jenkins job to add more ESXi builds via url or user upload
Service the server configured and provided:
- Apache2
- TFTP
- DHCP Server (disabled by default)
- OVFTool
- ipmitool
- Jenkins