]> git.proxmox.com Git - pve-manager.git/commitdiff
move default link config to drop-in snippet
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 18 Nov 2023 11:14:18 +0000 (12:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 18 Nov 2023 11:14:20 +0000 (12:14 +0100)
because otherwise we need to house *all* defaults, like the interface
naming policy ones, too.

This can be fine for one release, but easily overlooked if those, or
other important fall-back defaults change.

A user can now also easier override this, e.g., by simply adding a
drop-in file in the respective /etc path.

Fixes failure to rename network names to "predictable" names on boot
as reported in the forum:

https://forum.proxmox.com/threads/135635/page-6#post-606130

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
configs/Makefile

index 8cdb11e3250471c05008f1459362a4d1afae17c5..fa586e280d3565d75bcba48028c15f44b91bda72 100644 (file)
@@ -13,7 +13,7 @@ install: country.dat vzdump.conf pve-sources.list pve-initramfs.conf pve-blackli
        install -D -m 0644 vzdump.conf $(DESTDIR)/etc/vzdump.conf
        install -D -m 0644 pve-initramfs.conf $(DESTDIR)/etc/initramfs-tools/conf.d/pve-initramfs.conf
        install -D -m 0644 country.dat $(DESTDIR)/usr/share/$(PACKAGE)/country.dat
-       install -D -m 0644 proxmox-ve-default.link $(DESTDIR)/usr/lib/systemd/network/98-proxmox-ve-default.link
+       install -D -m 0644 proxmox-ve-default.link $(DESTDIR)/usr/lib/systemd/network/99-default.link.d/proxmox-mac-address-policy.conf
 
 clean:
        rm -f country.dat