Project

General

Profile

Actions

Bug #16913

closed

Validate format of dhcp-range option

Added by Stephen Benjamin over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1281743
Description of problem:
katello-installer with --capsule-dhcp-range is not able to set to default when using "false" or it doesn't check the syntax.

Version-Release number of selected component (if applicable):
6.1.3

How reproducible:
install satellite witch capsule and dhcp support

Steps to Reproduce:
1. After the satellite with capsule is installed, run:
2. katello-installer --capsule-dhcp-range "1 1" -> will fail, in the config
will be row like this: range "1 1"
3. katello-installer --capusle-dhcp-range false -> will fail, in the config
will be row like this: range false

Actual results:
There is wrong value for dhcp range

Expected results:
User receive an error message, when the syntax is not correct or in the case of "false", which supposed to be default, the range will be set to default

Actions

Also available in: Atom PDF