Project

General

Profile

Actions

Bug #9302

closed

Omitting "optional" options in the provisioning wizard results in a syntactically invalid dhcpd.conf

Added by Ian Denhardt over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In Foreman's wizard for setting up provisioning, on page 2, "Network config" there are several fields labeled "optional" -- dhcp address ranges, gateway and primary dns. I've not tried omitting the primary dns, but omitting any of the other fields results in a syntactically invalid dhcpd.conf. For example, if you omit the address range fields, dhcpd.conf ends up containing:

range  ;

There are two fairly obvious problems here:

1) The wizard is incorrect, these values are clearly mandatory.
2) The cli tool is not checking its arguments carefully either -- the generated command should complain if it's missing an option that will be required to complete successfully.

Actions

Also available in: Atom PDF