On 24.04, after enabled the proposed channel, this issue is fixed.

ubuntu@Mersey2-2:~$ cat /lib/netplan/00-network-manager-all.yaml
cat: /lib/netplan/00-network-manager-all.yaml: Permission denied
ubuntu@Mersey2-2:~$ sudo cat /lib/netplan/00-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

ubuntu@Mersey2-2:~$ apt-cache policy ubuntu-settings
ubuntu-settings:
  Installed: 24.04.5
  Candidate: 24.04.5
  Version table:
     24.04.6 100
        100 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
 *** 24.04.5 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     24.04.3 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

ubuntu@Mersey2-2:~$ sudo apt install ubuntu-settings=24.04.6
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  ubuntu-settings
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 10.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 
ubuntu-settings all 24.04.6 [10.2 kB]
Fetched 10.2 kB in 1s (12.5 kB/s)···········
(Reading database ... 227008 files and directories currently installed.)
Preparing to unpack .../ubuntu-settings_24.04.6_all.deb ...
Unpacking ubuntu-settings (24.04.6) over (24.04.5) ...
Setting up ubuntu-settings (24.04.6) ...
Processing triggers for libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.4) ...

ubuntu@Mersey2-2:~$ sudo cat /lib/netplan/00-network-manager-all.yaml
[sudo] password for ubuntu:·
network:
  version: 2
  renderer: NetworkManager

ubuntu@Mersey2-2:~$ nmcli c delete Canonical
ubuntu@Mersey2-2:~$ sudo debsums -s
ubuntu@Mersey2-2:~$ echo $?
0


** Tags removed: verification-needed-noble
** Tags added: verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078759

Title:
  Ability to use comments in YAML generated by Netplan

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to