E04 - One VM to Rule Them All! Convert to Proxmox Template with Cloud Init
Matt AutomateEd
0:00 / 0:00
E04 - One VM to Rule Them All! Convert to Proxmox Template with Cloud Init
742 просмотра · 1 год назад
Matt AutomateEd
87 подписчиков
742 просмотра · 1 год назад
In this video, I’ll show you how to save time in Proxmox by using Cloud-Init and VM templates the right way!
You’ll learn:
✅ What Cloud-Init is and why it matters
✅ How to configure Cloud-Init inside Proxmox
✅ How to convert a VM to a reusable template
✅ And how to deploy two VMs from that template with unique hostnames and IPs
No more repeating the same install steps over and over — this is a huge time-saver for any homelab or automation setup.
Commands used:
Installing cloud-init : dnf install cloud-init -y
Enabling Services:
systemctl enable cloud-init
systemctl enable cloud-init-local
systemctl enable cloud-config
systemctl enable cloud-final
Edit
vim /etc/cloud/cloud.cfg
change these to:
disable_root: false
ssh_pwauth: true
(save)
At shell run:
cloud-init clean
cloud-init init
Edit
vim /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
(save)
⏱ Timestamps
0:00 Intro
0:46 What is Cloud-Init?
1:16 Add Hardware Cloud-Init in Proxmox
2:16 Start VM
2:46 Install Cloud-Init in VM
3:07 Enable Cloud-Init Services
3:39 Edit /etc/cloud/cloud.cfg
4:43 Edit/Verify /etc/ssh/sshd_config
6:37 Clone VM - (Preparation For Template)
7:10 Templatize VM in Proxmox
7:29 Configure Cloud-Init Tab on Template
9:23 Deploy First VM From New Template
11:42 (optional) - setup manual ip
12:06 Start First New VM
12:42 Verify Hostname and IP (VM #1)
13:35 Deploy Second VM From Template
14:08 Start Second New VM
14:42 Verify Hostname and IP (VM #2)
15:16 Outro
🔗 Tools Used:
Proxmox VE
Cloud-Init (inside the VM)
👍 Like, subscribe, and hit the bell if you found this helpful — more Proxmox and automation content coming soon!
free background photos from pngtree.com https://pngtree.com/freebackground/ro...