From d6fa82b8720eec5173714760764af1ed503ab571 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 4 Sep 2019 14:29:31 -0500 Subject: script: keys: Add some keys --- devel/script/2_keys.xml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index 29a8eb3..f337454 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -6,4 +6,69 @@ A HorizonScript file is, at its core, a collection of values that determine the actions and configuration values used to transform a computer from an indeterminate state to a well-known state running Adélie Linux. These values are categorised into keys, which is a logical unit of a value. This chapter defines and specifies for every valid key for a HorizonScript file: its name, its purpose, its format, and one or more example values with explanations. +
+ Required Keys + Each key in this section is required to be present in a HorizonScript. If any key from this section is missing, the HorizonScript will be considered invalid and Horizon Runner will not execute it. +
+ <literal>network</literal> + + Name + network + + + Purpose + The network key determines if the target computer will support networking or not. If the value is true, the computer will support networking, and at least one netaddress key will then be required. + + + Format + The network key is a Boolean value — valid values are true and false. network must appear exactly once in a HorizonScript. + + + Example + + + The <literal>network</literal> Key + +network true + + This enables networking for the target computer. + + + +
+
+ <literal>hostname</literal> + + Name + hostname + + + Purpose + The hostname key determines the hostname of the target computer. This key is always required, even when the target computer will not participate in a network. The computer's hostname is used on shell prompts, most window manager launchers, and in log files. + + + Format + The hostname key is a string value that must contain only alphanumeric characters and optionally one or more '.' characters. If hostname contains one or more '.' characters, all content before the first '.' is considered the hostname, and all content after the first '.' is considered the domain name. + + + Examples + + + The <literal>hostname</literal> Key — Setting a Host Name + +hostname gwyn + + This sets the hostname of the target computer to gwyn. + + + The <literal>hostname</literal> Key — Setting a Host Name and Domain Name + +hostname gwyn.foxkit.internal + + This sets the hostname of the target computer to gwyn.foxkit.internal. + + + +
+
-- cgit v1.2.3-60-g2f50