Here's a small script that creates named symlinks to the horribly uuid-
based named netplan connections, to make selecting the appropriate
filename easier:
rm -rf /etc/netplan-links
mkdir -p /etc/netplan-links
LANG=C nmcli con show | while read -r name uuid rest; do
fname="/etc/netplan/90-NM-$uuid.yaml"
test -f "$fname" || continue
ln -s "$fname" "/etc/netplan-links/$name"
done
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2041491
Title:
Provide an option to avoid the yaml NM backend
Status in netplan.io package in Ubuntu:
Confirmed
Status in network-manager package in Ubuntu:
Confirmed
Bug description:
Hi, recently netplan added support for a yaml NM backend:
https://discourse.ubuntu.com/t/call-for-testing-networkmanager-yaml-
settings/32420
The rationale is that "the descriptive YAML layer is especially useful
in cloud environments":
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/556
It's great that you care about that user group!
Please also care for the rest of us that do not use cloud environments!
For example, I routinely review, clone, backup or even directly edit
the /etc/NetworkManager/system-connections files in my desktops and
servers, in all distributions.
Having an Ubuntu-specific way to do things will make things harder for
me. I will have to learn a new Ubuntu-specific syntax, develop scripts
and methods to convert my connections between distributions, I will
need to discover and report bugs in the netplan <=> nm mapping etc...
I.e. Ubuntu is great for the cloud, and it's awesome that you want to provide
a unified yaml-based experience for cloud-init etc.
But Ubuntu is also great outside the cloud; please allow us to continue
having a unified experience between distributions (i.e. directly using nm or
systemd-networkd) without enforcing an Ubuntu-specific way of doing things
(netplan) to us.
For Ubuntu 24.04+, please provide an option to avoid the yaml NM
backend, thank you very much!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041491/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp