fix #1865: CloudInit doesn't add IPv6

Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
David Limbeck 2018-08-22 11:35:49 +02:00 committed by Wolfgang Bumiller
parent dc02254ec9
commit 8d54522b90

View File

@ -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";