浏览代码

do not create systemd.link files

main
父节点
当前提交
231b48695a
共有 2 个文件被更改,包括 0 次插入14 次删除
  1. +0
    -10
      tasks/main.yml
  2. +0
    -4
      templates/virtio.link.j2

+ 0
- 10
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


+ 0
- 4
templates/virtio.link.j2 查看文件

@@ -1,4 +0,0 @@
[Match]
Driver=virtio_net
[Link]
NamePolicy=mac

正在加载...
取消
保存