From 7e1f20a253c28d9063c4d619ee54908e38cddb21 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 29 Sep 2019 19:32:49 -0500 Subject: Legalise netaddress when network == false This allows a sysadmin to specify a post-install network configuration without using it during the installation. --- devel/requirements/3b_runner.xml | 4 ---- devel/script/2_keys.xml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index e933832..82cb0d9 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -102,10 +102,6 @@ Runner.Validate.network.netaddress If the value in the HorizonScript for the network key is true, the system shall verify that at least one netaddress key is present. - - Runner.Validate.network.netaddress.NoNetwork - If the value in the HorizonScript for the network key is false, the system shall verify that no netaddress key is present. - Runner.Validate.network.netaddress.Validity The system shall verify that each netaddress key has a valid form of at least two values in a space-separated tuple. diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index 59f5c8a..5db959b 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -262,7 +262,7 @@ firmware false Optionally, the default gateway. The value specified must be a valid IP address of the same family as the IP address specified in item 3. - netaddress must not appear unless network is true. If network is true, then netaddress must appear at least once, and may appear up to 255 times per interface. + If network is true, then netaddress must appear at least once. If network is false, the network configuration specified in netaddress will be written to the target computer but will not be used during installation. netaddress may appear up to 255 times per interface. -- cgit v1.2.3-70-g09d2