Customizing proxmox and automating KVM installation process

  • Thread starter Thread starter librarian
  • Start date Start date
L

librarian

Guest
Hello,

I have a number of dedicated servers running Proxmox 2. I need to set up a lot of virtual machines at once and I want to have automated install using preseed/kickstart or PXE booting images.

How I can automate process?

I do not want to use custom ISO with builtin preseed config file, i want to configure network server with PXE boot system on it and make initial launch from network.

Also I want to know how to automate network set up process for VM. I use static routes and for now I use this algorithm:

Bridged mode: select one of bridge, then remove vm NIC from bridge, and creating a route. Like this

Code:
brctl delif vmbr0 tap100i0
sysctl -w net.ipv4.conf.all.proxy_arp=1
ip route add IP dev tap100i0