Proxmox

Automated Environment Provisioning: 10. Creating Proxmox Virtual Machine Templates (the right way)



Automated Environment Provisioning with Proxmox and pfSense
GitHub:

Proxmox Template and Clone Guide:
Qemu Guest Agent:
Cloud-Init:

Prepare a Linux Virtual Machine
YouTube Video:
apt update
apt install qemu-guest-agent cloud-init
systemctl enable qemu-guest-agent
systemctl enable cloud-init
apt autoremove && apt clean
rm /etc/ssh/ssh_host_*
truncate -s 0 /etc/machine-id
find / -name machine-id
rm /var/lib/dbus/machine-id
ln -s /etc/machine-id /var/lib/dbus/machine-id

Prepare a Windows Virtual Machine
Windows VirtIO Drivers:
Run → sysprep

Template Command: template [ids] -r

Set up environments the way you like them in a single configuration file and provide students/users with a secure web interface where they can authenticate to start, stop, access, and revert their unique automatically-provisioned copy of the environment. Environments can be as complex as you desire, even with many virtual machines spanning multiple subnets. Integrates directly with the Proxmox web interface for interacting with virtual machines and pfSense for internet access and network logging/management.

Feel free to connect with me on LinkedIn and message/email with any questions.

Email: jford11@hawk.iit.edu
Discord: RedefiningReality

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button