# It is config iPXE deploy server for auto debloy VMs
This repo for working with Ansible playbook os-ipxe-vmware-deploy.yml (os-ipxe-vmware-deploy.sh).
You can use it for auto deploying VMs in VMware vSphere.

## Steps
1. Add env in os-ipxe-vmware-deploy.sh (name VM, iPXE network, folder etc)
2. Run os-ipxe-vmware-deploy.sh
3. As result, you get installed VMs.

## For prepare iPXE server
1. Install service TFTP, DHCP-server and Nginx and etc
`apt install isc-dhcp-server nginx tftpd-hpa`
`apt download ipxe` (you can search undionly.kpxe)
`wget wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/mini.iso` (for extract 2 files: linux initrd.gz)
2. Make configs from examples
`See to repo`