forked from FF-RGB/ansible
common: use new-style network interface names
This commit is contained in:
parent
88122cc5ed
commit
4c1d4a485e
@ -40,10 +40,8 @@
|
|||||||
copy: src=resume dest=/etc/initramfs-tools/conf.d/resume
|
copy: src=resume dest=/etc/initramfs-tools/conf.d/resume
|
||||||
notify: update-initramfs
|
notify: update-initramfs
|
||||||
|
|
||||||
# TODO template /etc/network/interfaces
|
- name: use new-style network interface names
|
||||||
|
file: path=/etc/systemd/network/{{ item }} state=absent
|
||||||
- name: Fix network interface names
|
|
||||||
copy: src={{ item }} dest=/etc/systemd/network/{{ item }}
|
|
||||||
with_items:
|
with_items:
|
||||||
- 50-virtio-kernel-names.link
|
- 50-virtio-kernel-names.link
|
||||||
- 99-default.link
|
- 99-default.link
|
||||||
|
Loading…
Reference in New Issue
Block a user