]> git.proxmox.com Git - ifupdown2.git/commit
update patch10: only rewrite config on first ifupdown2
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 21 Sep 2020 16:51:15 +0000 (18:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 25 Sep 2020 07:16:01 +0000 (09:16 +0200)
commit8d5303c35044b612afc68eec1dc5bc265a5dd328
tree6ad7e80f018049aaf477030c1be09243bd41ca6b
parentc5cf5bb91291ddff928352b4ba03febacd90cf8a
update patch10: only rewrite config on first ifupdown2

we don't want to update config at each upgrade.

postinst can't detect upgrade vs install, it need to be done in preinst.

so I create a tmp file in preinst for first install, and detect this file
in postinst.
(as we need to have ifupdown2 installed first, to have the config rewrite working)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
debian/patches/pve/0010-postinst-rm-update-network-config-compatibility.patch