this post was submitted on 14 Nov 2023
51 points (100.0% liked)

Linux

48214 readers
658 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

The Canonical-developed Netplan has served for Linux network configuration on Ubuntu Server and Cloud versions for years. With the recent Ubuntu 23.10 release, Netplan is now being used by default on the desktop. Canonical is committing to fully leveraging Netplan for network configuration with the upcoming Ubuntu 24.04 LTS release and in turn also marking the Netplan 1.0 release.

Netplan is Canonical's network configuration manager for Linux systems with network interfaces being described via YAML files. Netplan considers itself as a "network configuration abstraction renderer" that in turn interfaces with NetworkManager or systemd-networkd. Netplan finally made its way to the Ubuntu 23.10 desktop by default with having better integration for knowing when connections are created/modified through NetworkManager.

For Ubuntu 24.04 LTS, Canonical plans to polish the Netplan codebase and deliver a Netplan 1.0 release with API/ABI stability. They are also hoping other Linux distributions begin adopting Netplan. Debian so far has decided to go with Netplan for their nework stack on Debian Cloud images.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 1 year ago (2 children)

How is it better than using NetworkManager or systemd-networkd directly?

Why is it worth the extra complexity?

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (2 children)

It has a structured yaml with a test command for potentially destructive config changes over ssh. Other than that: none. It was a real pain upgrading some servers, as always with Ubuntu.

[–] [email protected] 6 points 1 year ago

I just moved to Ubuntu from Fedora Silverblue, for some $reasons. I regret it already.

[–] moonpiedumplings 2 points 1 year ago

You know what can also test destructive changes?

Cockpit's networkmanager interface.

It literally has no benefits, and is only a pain to use.

Actually, it does have one benefit: it integrates with Canonical's other tech. For example, MAAS uses ot for networking, and I bet lxc uses it somehow.

[–] [email protected] 5 points 1 year ago

I like yaml generally but netplan was a huge unnecessary pain in the ass.