Proxmox

Proxmox VM Template Cloning with Terraform and OpenTofu



Proxmox VM Template Cloning with Terraform and OpenTofu

The video is part of a Proxmox PVE Nested Virtualization home lab series, where we will be building out a lab environment to test Proxmox no subscription features and functionality.

Since Broadcom’s acquisition of VMware, many customers are looking elsewhere for their virtualisation requirements. This video shows how to use Terraform and OpenTofu interchangeably to clone VM templates, and some of the snags found along the way.

Note: Before using TerraForm, make sure you have API tokens configured – see

In this video, we run through:
Some of the information sources for Terraform and OpenTofu.
Specifying providers.
Some of the snags with different providers and how to change them.
Simple Terraform details for a VM template cloning (for multiple machines).
Difficulties with IP address re-use by DHCP.
How to update the machine-id on the source template to fix the DHCP problem.

The Terraform / OpenTofu file and commands to set the machine-id can be found here:

Follow @HouseofLogicBlog or visit for more tutorials and articles.

[ad_2]

source

Related Articles

Leave a Reply

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

Back to top button