Auto deploy KVM machines

Florius

Well-Known Member
Jul 2, 2017
35
9
48
57
Hi. We're setting op a Proxmox environment as thusfar Proxmox has worked great for us when deploying single VM's.
We now want to upscale our Proxmox and start using Proxmox 5. However the thing we ran into is that we have to manually deploy the Virtual Machines. Deploy the template, change hostname, IP etc. etc.
What is the easiest way to start deploying VM's automatically?

Thanks in advance!
 
I set my VMs to DHCP and let the network set the IP.. I have a simple Perl script which asks proxmox via API to clone a Template, set network Params and boot it. My script also picks the leased loaded proxmox head on which to migrate and start it.
 
I set my VMs to DHCP and let the network set the IP.. I have a simple Perl script which asks proxmox via API to clone a Template, set network Params and boot it. My script also picks the leased loaded proxmox head on which to migrate and start it.

Are you willing to share your script perhaps? :)

We are using Ansible with PVE KVM module + Preseed/Kickstart: https://morph027.gitlab.io/post/pve-kickseed/

Oh that's pretty nice! This would work with any OS?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!