firewall: don’t configure mdev for interface renaming

Since Alpine 3.22 this is now done in default configuration.
This commit is contained in:
Timotej Lazar 2025-07-18 18:49:51 +02:00
parent 6840838978
commit 24fc864e63
2 changed files with 0 additions and 11 deletions

View file

@ -2,10 +2,6 @@
command: ifup --auto
when: "'handler' not in ansible_skip_tags"
- name: mkinitfs
command: mkinitfs
when: "'handler' not in ansible_skip_tags"
- name: reboot
reboot:
when: "'handler' not in ansible_skip_tags"

View file

@ -7,13 +7,6 @@
name: bash,bonding,iproute2
state: latest
- name: Tell mdev to rename network interfaces
lineinfile:
path: /etc/mdev.conf
line: '-net/.* root:root 600 @/sbin/nameif -s'
insertafter: '^# net devices'
notify: mkinitfs
- name: Tell ifupdown to also rename network interfaces
copy:
dest: /etc/network/if-pre-up.d/nameif