Commit b1b153b1 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

network: Give NetworkManager control over USB gadgets

The default NM config excludes USB gadgets from being managed.

The gadget is a regular network interface, and letting it be managed by /etc/network results in confusion when NM resets DNS settings.
parent 5393c906
Pipeline #51403 passed with stages
in 4 minutes and 18 seconds
allow-hotplug usb0
iface usb0 inet dhcp
# Do not modify this file, it will get overwritten on updates.
# To override or extend the rules place a file in /etc/udev/rules.d
`SUBSYSTEM!="net", GOTO="l5_nm_managed_end"
ACTION!="add|change", GOTO="l5_nm_managed_end"
# USB gadget device. It's the equivalent of a regular network interface, so it should be managed, overriding NetworkManager's default rule.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment