bugfix:TSG-14935:NetworkManager新增no-auto-default配置项

This commit is contained in:
fumingwei
2023-06-20 15:48:40 +08:00
parent 380d3bceac
commit 198b3e7ba2
3 changed files with 7 additions and 0 deletions

View File

@@ -171,6 +171,7 @@
- {role: hasp, tags: hasp} - {role: hasp, tags: hasp}
- {role: OFED, tags: OFED} - {role: OFED, tags: OFED}
- {role: sosreport, tags: sosreport} - {role: sosreport, tags: sosreport}
- {role: nm-config, tags: nm-config}
- hosts: TSG-X-NXR620G40-R01-P0906-init - hosts: TSG-X-NXR620G40-R01-P0906-init
remote_user: root remote_user: root

View File

@@ -0,0 +1,2 @@
[main]
no-auto-default=*

View File

@@ -0,0 +1,4 @@
- name: "nm-config: copy file to target"
copy:
src: '{{ role_path }}/files/01-add-no-auto-default.conf'
dest: /usr/lib/NetworkManager/conf.d