2024-09-19 13:29:35 +03:00

19 lines
818 B
Markdown

# It is config iPXE deploy server for auto debloy VMs<br/>
This repo for working with Ansible playbook os-ipxe-vmware-deploy.yml (os-ipxe-vmware-deploy.sh).<br/>
You can use it for auto deploying VMs in VMware vSphere.<br/>
<br/>
## Steps<br/>
1. Add env in os-ipxe-vmware-deploy.sh (name VM, iPXE network, folder etc)<br/>
2. Run os-ipxe-vmware-deploy.sh<br/>
3. As result, you get installed VMs.<br/>
<br/>
## For prepare iPXE server<br/>
1. Install service TFTP, DHCP-server and Nginx and etc<br/>
`apt install isc-dhcp-server nginx tftpd-hpa`<br/>
`apt download ipxe` (you can search undionly.kpxe)<br/>
`wget wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/mini.iso` (for extract 2 files: linux initrd.gz)<br/>
2. Make configs from examples<br/>
`See to repo`<br/>