common: use new-style network interface names

This commit is contained in:
Markus 2020-02-16 01:17:48 +01:00
parent 88122cc5ed
commit 4c1d4a485e

View File

@ -40,10 +40,8 @@
copy: src=resume dest=/etc/initramfs-tools/conf.d/resume
notify: update-initramfs
# TODO template /etc/network/interfaces
- name: Fix network interface names
copy: src={{ item }} dest=/etc/systemd/network/{{ item }}
- name: use new-style network interface names
file: path=/etc/systemd/network/{{ item }} state=absent
with_items:
- 50-virtio-kernel-names.link
- 99-default.link