How to Modify Template in Proxmox Ve

How to Modify Template im Proxox VE

Sometime I wonder how to convert template back to vm and modify it and convert it back to vm? Here is the solution

Convert Template to VM

Delete template: 1 in vm config.

1
sed -i 's/template:\ 1//g' /etc/pve/qemu-server/{vm-id}.conf

Change access permission of VM disk

1
2
3
cd /var/lib/vz/images/1{VM-ID}/
chattr -i *
chmod 755 *

Then covert it back to template

Licensed under CC BY-NC-SA 4.0
Last updated on Sep 19, 2024 09:13 UTC
Built with Hugo
Theme Stack designed by Jimmy