[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-07-08 Thread Andreas Hasenack
Removed as requested:
Removing packages from oracular-proposed:
initramfs-tools 0.142ubuntu34.3 in oracular
initramfs-tools 0.142ubuntu34.3 in oracular amd64
initramfs-tools 0.142ubuntu34.3 in oracular arm64
initramfs-tools 0.142ubuntu34.3 in oracular armhf
initramfs-tools 0.142ubuntu34.3 in oracular i386
initramfs-tools 0.142ubuntu34.3 in oracular ppc64el
initramfs-tools 0.142ubuntu34.3 in oracular riscv64
initramfs-tools 0.142ubuntu34.3 in oracular s390x
initramfs-tools-bin 0.142ubuntu34.3 in oracular amd64
initramfs-tools-bin 0.142ubuntu34.3 in oracular arm64
initramfs-tools-bin 0.142ubuntu34.3 in oracular armhf
initramfs-tools-bin 0.142ubuntu34.3 in oracular i386
initramfs-tools-bin 0.142ubuntu34.3 in oracular ppc64el
initramfs-tools-bin 0.142ubuntu34.3 in oracular riscv64
initramfs-tools-bin 0.142ubuntu34.3 in oracular s390x
initramfs-tools-core 0.142ubuntu34.3 in oracular amd64
initramfs-tools-core 0.142ubuntu34.3 in oracular arm64
initramfs-tools-core 0.142ubuntu34.3 in oracular armhf
initramfs-tools-core 0.142ubuntu34.3 in oracular i386
initramfs-tools-core 0.142ubuntu34.3 in oracular ppc64el
initramfs-tools-core 0.142ubuntu34.3 in oracular riscv64
initramfs-tools-core 0.142ubuntu34.3 in oracular s390x
Comment: The package was removed due to one or more of its SRU bugs having 
failed verification.
1 package successfully removed.

Removing packages from noble-proposed:
initramfs-tools 0.142ubuntu25.6 in noble
initramfs-tools 0.142ubuntu25.6 in noble amd64
initramfs-tools 0.142ubuntu25.6 in noble arm64
initramfs-tools 0.142ubuntu25.6 in noble armhf
initramfs-tools 0.142ubuntu25.6 in noble i386
initramfs-tools 0.142ubuntu25.6 in noble ppc64el
initramfs-tools 0.142ubuntu25.6 in noble riscv64
initramfs-tools 0.142ubuntu25.6 in noble s390x
initramfs-tools-bin 0.142ubuntu25.6 in noble amd64
initramfs-tools-bin 0.142ubuntu25.6 in noble arm64
initramfs-tools-bin 0.142ubuntu25.6 in noble armhf
initramfs-tools-bin 0.142ubuntu25.6 in noble i386
initramfs-tools-bin 0.142ubuntu25.6 in noble ppc64el
initramfs-tools-bin 0.142ubuntu25.6 in noble riscv64
initramfs-tools-bin 0.142ubuntu25.6 in noble s390x
initramfs-tools-core 0.142ubuntu25.6 in noble amd64
initramfs-tools-core 0.142ubuntu25.6 in noble arm64
initramfs-tools-core 0.142ubuntu25.6 in noble armhf
initramfs-tools-core 0.142ubuntu25.6 in noble i386
initramfs-tools-core 0.142ubuntu25.6 in noble ppc64el
initramfs-tools-core 0.142ubuntu25.6 in noble riscv64
initramfs-tools-core 0.142ubuntu25.6 in noble s390x
Comment: The package was removed due to one or more of its SRU bugs having 
failed verification.
1 package successfully removed.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-07-07 Thread gerald.yang
** Changed in: initramfs-tools (Ubuntu Oracular)
   Status: Fix Committed => Won't Fix

** Changed in: initramfs-tools (Ubuntu Noble)
   Status: Fix Committed => Won't Fix

** Changed in: initramfs-tools (Ubuntu Jammy)
   Status: Triaged => Won't Fix

** Changed in: initramfs-tools (Ubuntu Focal)
   Status: Triaged => Won't Fix

** Tags removed: verification-needed verification-needed-noble 
verification-needed-oracular
** Tags added: verification-failed verification-failed-noble 
verification-failed-oracular

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-07-07 Thread gerald.yang
I've confirmed with the customer that we don't need this SRU anymore,
please drop it, thanks.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-06-13 Thread gerald.yang
Thanks for the suggestion, let me check with the customer to see if they
still need this

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-06-11 Thread Nick Rosbrook
With the cloud-init fix in place, it seems we don't *need* this update
anymore. Obviously, releasing this SRU introduces *some* potential for
regression, so in that sense, removing the upload from -proposed is
preferable.

Gerald, as the OP and SRU driver, would you be okay with the SRU being
abandoned? Or do you feel like there is still a sufficient reason for
releasing the update?

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-06-10 Thread gerald.yang
Regarding the issue

So cloud-init already fixes this, now it doesn't return 2 when applying 
deprecated netplan config:
https://github.com/canonical/cloud-init/pull/5348

But this SRU still fixes the deprecated netplan config generated by
initramfs-tools, I'm not sure if we still need it.


Hi Nick,

Do you have any thoughts on this SRU? thanks

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-28 Thread Andreas Hasenack
Hello gerald.yang, or anyone else affected,

Accepted initramfs-tools into oracular-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/initramfs-
tools/0.142ubuntu34.3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
oracular to verification-done-oracular. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-oracular. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: initramfs-tools (Ubuntu Oracular)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-oracular

** Changed in: initramfs-tools (Ubuntu Noble)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-noble

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-23 Thread gerald.yang
Got it, that makes sense.
Let me modify the test plan, thanks!

** Description changed:

  [Impact]
  
  According to netplan doc
  https://netplan.readthedocs.io/en/latest/netplan-yaml
  
  gateway4/gateway6 are deprecated and the first version deprecates these 
fields is 0.103,
  it should use "routes:" instead.
  
  In scripts/functions:_render_netplan, it still generates the deprecated
  fields in /run/netplan/xxx.yaml:
  
   if [ -n "$gateway4" ]; then
    echo "  gateway4: \"$gateway4\""
   fi
   if [ -n "$gateway6" ]; then
    echo "  gateway6: \"$gateway6\""
   fi
  
  Then casper copies this config to root filesystem and later on used by 
cloud-init:
  
https://git.launchpad.net/ubuntu/+source/casper/tree/scripts/casper-bottom/58server_network?h=applied/ubuntu/noble-updates#n47
  
  In this case, cloud-init returns 2 (success with recoverable errors)
  rather than '0' (success)
  
  We should modify these fields to use "routes:" based on netplan doc:
  https://netplan.readthedocs.io/en/latest/netplan-yaml/#default-routes
  
  [Test Case]
  
  To verify if it generates the correct netplan config, we can specify ip
  related config in kernel cmdline in grub menu and check the yaml file in
  /run/netplan/
+ 
+ And then make sure cloud-init return 0 with the correct netplan config.
+ 
  
  Steps to reproduce the netplan config:
  
  1. launch a test VM in lxd
  2. go into grub menu
  3. pass ip related info to kernel cmdline, e.g.
  ip=10.194.146.91::10.194.146.1:255.255.255.010.194.146.1
  4. boot into system and check /run/netplan/xxx.yaml
  
  Originally, it generates something like:
  cat /run/netplan/enp5s0.yaml
  network:
    version: 2
    ethernets:
  enp5s0:
    addresses:
  - "10.194.146.91/24"
    gateway4: "10.194.146.1"
    nameservers:
  addresses: ["10.194.146.1"]
  
  After the patch, it generates something like:
  cat /run/netplan/enp5s0.yaml
  network:
    version: 2
    ethernets:
  enp5s0:
    addresses:
  - "10.194.146.91/24"
    routes:
  - to: default
    via: "10.194.146.1"
    nameservers:
  addresses: ["10.194.146.1"]
  
+ Setup cloud-init and enable debug message to confirm the return value
+ from cloud-init is 0, not 2.
+ 
  [Where problems could occur]
  
  This patch follows the netplan doc to use "routes:" for default gateway,
  so network connectivity will be impacted on regressions. We should ensure 
that networking and routing works correctly, e.g. with a basic networking smoke 
test.
  
  [Other Info]
  https://bugs.launchpad.net/cloud-init/+bug/1992512

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-23 Thread gerald.yang
I've modified the [Test Case] session to add cloud-init check.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-23 Thread Nick Rosbrook
I'm not asking you to include cloud-init in the initramfs or anything. I
am requesting that as part of the SRU test verification, you perform a
full end-to-end test similar to the customer setup you mentioned.

The impact above is centered around cloud-init's exit code. Hence, I
think it is necessary that the test plan confirms that this initramfs-
tools change actually results in cloud-init returning 0 now.

Does that make sense?

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-22 Thread gerald.yang
Hi Nick,

Thanks for the feedback and keep sponsoring this.

Yes, the actual routes created are the same, this PR for cloud-init fixes the 
netplan change:
https://github.com/canonical/cloud-init/pull/1794

In the unittest: 
https://github.com/canonical/cloud-init/pull/1794/files#diff-5f2dee2a7c430ef84faae149c70e4269685133db03a62c3bca9f3f295cb44ac6

"gateway{4,6}" is replaced directly by "routes", and used to config the
network route.


Regarding the test case:
initramfs-tools only generates netplan config. After booting up the system, 
cloud-init will be executed by systemd and then cloud-init will read the 
netplan config.

If we need to check the return value from cloud-init in the test case,
we might need to include cloud-init package, but I think it might not be
proper to do this in initramfs-tools.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-22 Thread Nick Rosbrook
Thanks for the extra explanation. I think the change is justified, and
the uploads look good to me.

I do think the test case should be expanded based on what you said
above. If the *impact* the user faces is that the generated config
results in cloud-init returning non-zero, the test case should confirm
that cloud-init does actually return 0 now with these changes.

Also, the actual routes created should be the same as before this
change, right? If so, I think it would be good to verify that during
testing.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-07 Thread gerald.yang
Hi Nick,

Thanks for looking into this, let me explain this in more details.

This is an issue reported by one of our customers, in their environment when 
they first boot the live-server ISO, they do not run DHCP, instead, they pass 
network info via the kernel cmdline.
So the system is able to get further build/deployment instructions from network.

They follow the cloud-init docs to check the exit code and decide if
everything is correct (exit code: 0) and then continue their process,
this is where they hit this issue.

Currently they workaround it by adding a handle for "exit code 2" from 
cloud-init to let it continue,
so the network is also working properly even though cloud-init returns 2.

But we should follow the cloud-init doc to return the correct exit code,
in case anyone else also checks the return status in the future in their
process.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-07 Thread Nick Rosbrook
> In this case, cloud-init returns 2 (success with recoverable errors)
rather than '0' (success)

Is this the primary impact of this bug? If so, what are the practical
implications of this?

Does networking not work correctly? Does something else fail because of
a non-zero exit code from cloud-init?

Or, is the purpose of this strictly to clean up the config so that it
does not use deprecated fields?

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-06 Thread gerald.yang
Thank you Heitor!

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-05-05 Thread Heitor Alves de Siqueira
Thanks for the patches, Gerald! I've tested this on my personal PPA, and
sponsored for Oracular and Noble. I've also amended the SRU template in
the "Where problems could occur" section.

Note that this is blocked for Jammy/Focal due to packages for bug
2056187 being in -proposed. Once that clears out, we can proceed with
this one (if Focal is still under standard support by then, otherwise
this would need to be targeted for Ubuntu Pro 20.04).

** Changed in: initramfs-tools (Ubuntu Jammy)
   Status: In Progress => Triaged

** Changed in: initramfs-tools (Ubuntu Focal)
   Status: In Progress => Triaged

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-04-30 Thread Heitor Alves de Siqueira
** Description changed:

  [Impact]
  
  According to netplan doc
  https://netplan.readthedocs.io/en/latest/netplan-yaml
  
  gateway4/gateway6 are deprecated and the first version deprecates these 
fields is 0.103,
  it should use "routes:" instead.
  
  In scripts/functions:_render_netplan, it still generates the deprecated
  fields in /run/netplan/xxx.yaml:
  
-   if [ -n "$gateway4" ]; then
-   echo "  gateway4: \"$gateway4\""
-   fi
-   if [ -n "$gateway6" ]; then
-   echo "  gateway6: \"$gateway6\""
-   fi
+  if [ -n "$gateway4" ]; then
+   echo "  gateway4: \"$gateway4\""
+  fi
+  if [ -n "$gateway6" ]; then
+   echo "  gateway6: \"$gateway6\""
+  fi
  
  Then casper copies this config to root filesystem and later on used by 
cloud-init:
  
https://git.launchpad.net/ubuntu/+source/casper/tree/scripts/casper-bottom/58server_network?h=applied/ubuntu/noble-updates#n47
  
  In this case, cloud-init returns 2 (success with recoverable errors)
  rather than '0' (success)
  
  We should modify these fields to use "routes:" based on netplan doc:
  https://netplan.readthedocs.io/en/latest/netplan-yaml/#default-routes
- 
  
  [Test Case]
  
  To verify if it generates the correct netplan config, we can specify ip
  related config in kernel cmdline in grub menu and check the yaml file in
  /run/netplan/
  
  Steps to reproduce the netplan config:
  
  1. launch a test VM in lxd
  2. go into grub menu
  3. pass ip related info to kernel cmdline, e.g.
  ip=10.194.146.91::10.194.146.1:255.255.255.010.194.146.1
  4. boot into system and check /run/netplan/xxx.yaml
  
  Originally, it generates something like:
- cat /run/netplan/enp5s0.yaml 
+ cat /run/netplan/enp5s0.yaml
  network:
-   version: 2
-   ethernets:
- enp5s0:
-   addresses:
- - "10.194.146.91/24"
-   gateway4: "10.194.146.1"
-   nameservers:
- addresses: ["10.194.146.1"]
+   version: 2
+   ethernets:
+ enp5s0:
+   addresses:
+ - "10.194.146.91/24"
+   gateway4: "10.194.146.1"
+   nameservers:
+ addresses: ["10.194.146.1"]
  
  After the patch, it generates something like:
- cat /run/netplan/enp5s0.yaml 
+ cat /run/netplan/enp5s0.yaml
  network:
-   version: 2
-   ethernets:
- enp5s0:
-   addresses:
- - "10.194.146.91/24"
-   routes:
- - to: default
-   via: "10.194.146.1"
-   nameservers:
- addresses: ["10.194.146.1"]
- 
+   version: 2
+   ethernets:
+ enp5s0:
+   addresses:
+ - "10.194.146.91/24"
+   routes:
+ - to: default
+   via: "10.194.146.1"
+   nameservers:
+ addresses: ["10.194.146.1"]
  
  [Where problems could occur]
  
  This patch follows the netplan doc to use "routes:" for default gateway,
- if the format is correct, it shouldn't cause any issue. 
+ so network connectivity will be impacted on regressions. We should ensure 
that networking and routing works correctly, e.g. with a basic networking smoke 
test.
  
  [Other Info]
  https://bugs.launchpad.net/cloud-init/+bug/1992512

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-09 Thread gerald.yang
** Changed in: initramfs-tools (Ubuntu Oracular)
   Importance: Undecided => Medium

** Changed in: initramfs-tools (Ubuntu Noble)
   Importance: Undecided => Medium

** Changed in: initramfs-tools (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: initramfs-tools (Ubuntu Jammy)
   Importance: Undecided => Medium

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-02 Thread gerald.yang
modified debdiff for noble

** Patch added: "noble.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861697/+files/noble.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-02 Thread gerald.yang
modified debdiff for jammy

** Patch added: "jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861696/+files/jammy.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-02 Thread gerald.yang
modified debdiff for oracular

** Patch added: "oracular.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861698/+files/oracular.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-02 Thread gerald.yang
modified debdiff for focal

** Patch added: "focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861695/+files/focal.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-03-02 Thread gerald.yang
ok, let me modify it and re-upload debdiffs

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-28 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.145ubuntu3

---
initramfs-tools (0.145ubuntu3) plucky; urgency=medium

  * scripts/functions: gateway4/gateway6 are depreated in netplan config,
generate routes instead (LP: #2093164)

 -- Gerald Yang   Tue, 25 Feb 2025 01:35:07
+

** Changed in: initramfs-tools (Ubuntu Plucky)
   Status: In Progress => Fix Released

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-26 Thread Benjamin Drung
** Changed in: initramfs-tools (Ubuntu Plucky)
   Importance: Undecided => Medium

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-26 Thread Benjamin Drung
I would recommend that.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-26 Thread gerald.yang
Hi Benjamin,

Thanks for sponsoring this, should I modify other debdiffs to keep
ipv4static too?

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-25 Thread Benjamin Drung
Sponsored the plucky upload, but kept the ipv4static test case:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/initramfs-
tools/commit/?id=62e08aa207e9f49fbf891891eb87b130e93426cf

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
debdiff for oracular

** Patch added: "oracular.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860272/+files/oracular.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
debdiff for focal

** Patch added: "focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860269/+files/focal.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
I've also added an ipv6 test case, will upload debdiffs later

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
Currently,

focal and jammy are blocked by this SRU
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187

noble and oracular are waiting to release to -updates for this SRU
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2091904

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
debdiff for plucky

** Patch added: "plucky.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860273/+files/plucky.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
debdiff for noble

** Patch added: "noble.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860271/+files/noble.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-02-24 Thread gerald.yang
debdiff for jammy

** Patch added: "jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860270/+files/jammy.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-16 Thread gerald.yang
Sure, thank you Benjamin for reviewing this SRU, I will add a test case
for it.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-16 Thread Benjamin Drung
It would be useful to add a test case that has an IPv4 and IPv6 gateway.

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
updated debdiffs and test PPA based on Lukas's suggestion:
https://launchpad.net/~gerald-yang-tw/+archive/ubuntu/402790-test

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
debdiff for focal

** Patch added: "focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5851998/+files/focal.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
debdiff for noble

** Patch added: "noble.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852001/+files/noble.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
debdiff for plucky

** Patch added: "plucky.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852003/+files/plucky.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
debdiff for oracular

** Patch added: "oracular.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852002/+files/oracular.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
debdiff for jammy

** Patch added: "jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852000/+files/jammy.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread gerald.yang
Thanks Lukas for reviewing this, that makes sense
I will update the debdiff to set different default routes for gateway4 and 
gateway6

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-15 Thread Lukas Märdian
Can there only ever be a single gateway4 or gateway6 be defined in
initramfs-tools?


What happens if both $gateway4 and $gateway6 are defined? I think we'd need to 
define two actual default routes below the "routes" stanza, e.g.:


network:
  version: 2
  ethernets:
enp5s0:
  addresses:
- "10.194.146.91/24"
  routes:
- to: default
  via: "10.194.146.1"
- to: default
  via: "2001:16b8:bda3:6900:adc8:76e7:6435:1eeb"
  nameservers:
addresses: ["10.194.146.1"]

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-09 Thread gerald.yang
test PPA:
https://launchpad.net/~gerald-yang-tw/+archive/ubuntu/402790-test

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-09 Thread gerald.yang
debdiff for oracular

** Patch added: "oracular.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850722/+files/oracular.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-09 Thread gerald.yang
debdiff for plucky

** Patch added: "plucky.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850723/+files/plucky.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-09 Thread Ubuntu Foundations Team Bug Bot
The attachment "focal.debdiff" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-09 Thread gerald.yang
debdiff for noble

** Patch added: "noble.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850582/+files/noble.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-08 Thread gerald.yang
debdiff for focal

** Patch added: "focal.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850580/+files/focal.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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

[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6

2025-01-08 Thread gerald.yang
debdiff for jammy

** Patch added: "jammy.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850581/+files/jammy.debdiff

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

Title:
  initramfs-tools generates deprecated netplan config gateway4 and
  gateway6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions


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