Remove NetworkManager connection Wired Connection.

NetworkManager has problems using the default 'Wired Connection 1'
setting for more than one network card, so it is better to remove this file
and NetworkManager will use default 'Wired Connections' in memory.
This commit is contained in:
Raphael Dannecker 2024-06-11 13:37:56 +02:00
parent 4b4328bde5
commit c3d7692f21

View file

@ -92,6 +92,12 @@
tasks: tasks:
## Temporary fixes and quirks: ## Temporary fixes and quirks:
- name: Remove disturbing NetworkManager connection
file:
path: "/etc/NetworkManager/system-connections/Wired connection 1"
state: absent
when: ansible_interfaces | select('search', '^en[pso].+') | length > 1
- name: Fix 8086:4909 external graphics card - name: Fix 8086:4909 external graphics card
replace: replace:
dest: "/etc/default/grub" dest: "/etc/default/grub"