Actions
Bug #37409
openpreseed_netplan_generic_interface generates invalid config for non-DHCP6 subnet
Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
When provisioning an Ubuntu host via autoinstall, the generated userdata template has an invalid netplan config when the subnet is not using DHCPv6, e.g.:
network:
version: 2
ethernets:
ens160:
dhcp4: true
dhcp6:
This is caused by @dhcp6 being nil and rendering to "" rather than "false" in preseed_netplan_generic_interface.
(Simple) PR to follow.
Actions