Project

General

Profile

Actions

Bug #37409

open

preseed_netplan_generic_interface generates invalid config for non-DHCP6 subnet

Added by Dan Ports 13 days ago. Updated 13 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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 #1

Updated by The Foreman Bot 13 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10149 added
Actions

Also available in: Atom PDF