[SOLVED] URGENT - Windows template - Provisionning

May 24, 2022
137
17
23
Switzerland
Good evening to the entire ProxMox community and support!

I have a very important question to ask you and this will guide my choice that I must finalize by tomorrow morning on the technology that we will continue to use!

1: To provision your Windows VM's to your clients automatically, I assume you use software like HostBill or WHMCS, others!

1.1: Send you your information for the IP, second IP (if VXLAN - SDN) to use, ram, cpu, Administrator password, reset password, etc... via Qemu-guest-agent command or via cloud-init (cloudbase -init)?

2: To create your Windows template
2.1: Do you need to put scripts in Windows?
2.2: Just do a basic install, put the drivers and the qemu-guest-agent and run the sysprep?

3: ProxMox Patch??
3.1: I saw some people talking about a ProxMox patch to modify the cloudinit.pm and qemu.pm files but with each ProxMox upgrade everything goes wrong every time!

So in summary! Do we really have to patch proxmox? Should we use cloud-init or the qemu-guest agent or something else?

Thank you in advance for your feedback! It's very urgent!

Greetings
 
I would say it depends on your requirements.

I do this too, but I have written my scripts which run after the clone and, for example, take over the host name and network configuration in Windows via the guest agent. Within the VM itself I have stored corresponding PS scripts for sysprep, for example, the file system is automatically enlarged.

This means I am independent of cloud init and can deploy my VMs ready to use within a few seconds.

I also don't think that many of your points really concern Proxmox as a hypervisor software, it's more your personal requirements that Proxmox often doesn't cover.
 
In summary, we use HostBIll which will provision our VM's for our clients on ProxMox!

Currently HostBill sends the information but in the Cloud-init field of ProxMox in the VM! But we have to modify countless things in the proxmox files which is just unmanageable and never works!

I spoke with HostBill and we are going to modify it so that it goes via the qemu-guest-agent to
Assign static IP
Assign SDN (VXLAN)
Administrator account and password
Password reset
DNS
Etc..

So HostBill will manage the API part towards ProxMox for QEMU management!

But at the Windows level! Should we make scripts? Or does the agent take care of everything on his own?
 
I would say it depends on your requirements.

I do this too, but I have written my scripts which run after the clone and, for example, take over the host name and network configuration in Windows via the guest agent. Within the VM itself I have stored corresponding PS scripts for sysprep, for example, the file system is automatically enlarged.

This means I am independent of cloud init and can deploy my VMs ready to use within a few seconds.

I also don't think that many of your points really concern Proxmox as a hypervisor software, it's more your personal requirements that Proxmox often doesn't cover.
Are you agree to share you script?