all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Mira Limbeck <m.limbeck@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu-server 1/2] fix #3314: IPv6 requires type 'static6'
Date: Mon, 29 Mar 2021 14:07:14 +0200	[thread overview]
Message-ID: <20210329120716.9792-1-m.limbeck@proxmox.com> (raw)

A fix was also provided in bugzilla by user wsapplegate:
https://bugzilla.proxmox.com/show_bug.cgi?id=3314

Tested on Ubuntu 20.04, CentOS 8 and Debian 10.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
---
anything else required regarding attribution?

 PVE/QemuServer/Cloudinit.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer/Cloudinit.pm b/PVE/QemuServer/Cloudinit.pm
index c464bf3..3224dd0 100644
--- a/PVE/QemuServer/Cloudinit.pm
+++ b/PVE/QemuServer/Cloudinit.pm
@@ -452,7 +452,7 @@ sub nocloud_network {
 		# SLAAC is not supported by cloud-init, this fallback should work with an up-to-date netplan at least
 		$content .= "${i}- type: dhcp6\n";
 	    } else {
-		$content .= "${i}- type: static\n"
+		$content .= "${i}- type: static6\n"
 		       . "${i}  address: '$ip'\n";
 		if (defined(my $gw = $ipconfig->{gw6})) {
 		    $content .= "${i}  gateway: '$gw'\n";
-- 
2.20.1





             reply	other threads:[~2021-03-29 12:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 12:07 Mira Limbeck [this message]
2021-03-29 12:07 ` [pve-devel] [PATCH qemu-server 2/2] fix #2670: cloudinit enable SLAAC Mira Limbeck
2021-03-30 16:27   ` [pve-devel] applied: " Thomas Lamprecht
2021-03-29 12:07 ` [pve-devel] [PATCH manager] js: readd SLAAC option to IPConfig Mira Limbeck
2021-03-31 13:36   ` [pve-devel] applied: " Thomas Lamprecht
2021-03-30 16:27 ` [pve-devel] applied: [PATCH qemu-server 1/2] fix #3314: IPv6 requires type 'static6' Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210329120716.9792-1-m.limbeck@proxmox.com \
    --to=m.limbeck@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal