Templates and PMG upgrades

f4242

Active Member
Dec 19, 2016
82
3
28
Quebec, QC
Hello,

I had a need to modify the postfix configuration. I read the documentation and found the section about the template system. So, I created the directory /etc/pmg/templates and copied the file main.cf.in from /var/lib/pmg/templates.

This was easy and worked at the first time!

When I'll upgrade PMG in the future, how will I deal with my custom modification? Is there something in the upgrade process that will tell me that the base template has changed?

Can I expect no changes in the base templates in minor release updates?

Thank you!
 
Last edited:
  • Like
Reactions: larsen

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
17,073
488
103
Austria
www.proxmox.com
When I'll upgrade PMG in the future, how will I deal with my custom modification? Is there something in the upgrade process that will tell me that the base template has changed?

no

Can I expect no changes in the base templates in minor release updates?

Changes are very unlikely, but I suggest that you simply compare the files after each update (manually).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!