[pve-devel] [qemu-server v2] fix #1865: CloudInit doesn't add IPv6

David Limbeck d.limbeck at proxmox.com
Wed Aug 22 11:35:49 CEST 2018


changes since v1:
added description in subject 

---
 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 e90e1c0..53f1de9 100644
--- a/PVE/QemuServer/Cloudinit.pm
+++ b/PVE/QemuServer/Cloudinit.pm
@@ -341,7 +341,7 @@ sub nocloud_network {
 	    if ($ip eq 'dhcp') {
 		$content .= "${i}- type: dhcp6\n";
 	    } else {
-		$content .= "${i}- type: static6\n"
+		$content .= "${i}- type: static\n"
 		       . "${i}  address: $ip\n";
 		if (defined(my $gw = $ipconfig->{gw6})) {
 		    $content .= "${i}  gateway: $gw\n";
-- 
2.11.0





More information about the pve-devel mailing list