mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-26 21:54:08 +00:00
fix #3314: IPv6 requires type 'static6'
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>
This commit is contained in:
parent
190c846141
commit
617a864ac2
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user