From 231b48695ae3cce6e707564699d6d9dcf34a5c7c Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Wed, 27 Sep 2017 23:30:56 +0000 Subject: [PATCH] do not create systemd.link files --- tasks/main.yml | 10 ---------- templates/virtio.link.j2 | 4 ---- 2 files changed, 14 deletions(-) delete mode 100644 templates/virtio.link.j2 diff --git a/tasks/main.yml b/tasks/main.yml index fcc6362..8448e50 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -48,16 +48,6 @@ root_target_directory: "{{ live_build_directory }}/config/includes.chroot/" when: live_build_serial_console == false -- name: systemd network config directory - file: - path: "{{ live_build_directory }}/config/includes.chroot/etc/systemd/network" - state: directory - -- name: name policy for predictable interface names with virtio to mac - template: - src: virtio.link.j2 - dest: "{{ live_build_directory }}/config/includes.chroot/etc/systemd/network/20-virtio.link" - - name: include common packages template: src: common.list.chroot.j2 diff --git a/templates/virtio.link.j2 b/templates/virtio.link.j2 deleted file mode 100644 index 78c58c9..0000000 --- a/templates/virtio.link.j2 +++ /dev/null @@ -1,4 +0,0 @@ -[Match] -Driver=virtio_net -[Link] -NamePolicy=mac