[pve-devel] [PATCH qemu-server 1/2] fix #3314: IPv6 requires type 'static6'
Mira Limbeck
m.limbeck at proxmox.com
Mon Mar 29 14:07:14 CEST 2021
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 at 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
More information about the pve-devel
mailing list