]> git.puffer.fish Git - mirror/pve-network.git/commit
d/postinst: do not break, if ipam-file moves fail
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 20 Nov 2024 14:13:34 +0000 (15:13 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Nov 2024 15:13:38 +0000 (16:13 +0100)
commitc1a9ab4b878fbdabba8ca605e9e2ffbe53d9eada
tree411f454c91d91112f7f6fa093ca0ce68036765c6
parent3b2e57499e74d85fd2b0627ff9fab769d3bfb4e5
d/postinst: do not break, if ipam-file moves fail

failing a package-install does not help repairing the situation - so
inform the user about the issue instead of erroring out. The copy
could fail if a node is not quorate, so writes in /etc/pve are a bit
more likely to fail
adapts the change introduced in
d0628df ("debian: migrate legacy mac/ipam cache/state files")

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
debian/libpve-network-perl.postinst