* Updated striker-initialize-host to support calls from command line switches, and wrote the man page for it.
Signed-off-by: Digimer <digimer@alteeve.ca>
striker-initialize-host \- Tool used on Striker dashboards to initialize new Nodes and DR hosts.
.SHSYNOPSIS
.Bstriker-initialize-host
\fI\,<command> \/\fR[\fI\,options\/\fR]
.SHDESCRIPTION
striker-initialize-host \- This tool logs into a target Anvil! sub-node or DR host, adds the Alteeve! repository, installs \fBanvil-node\fR or \fBanvil-dr\fR, and then configures \fBanvil.conf\fR so that the target can start communicating with any peered Striker dashboards.
.TP
.SHOPTIONS
.TP
\-?, \-h, \fB\-\-help\fR
Show this man page.
.TP
\-d, \fB\-\-job-uuid\fR
This is the jobs -> job_uuid of the job to run, if it exists.
.TP
\fB\-\-log-secure\fR
When logging, record sensitive data, like passwords.
.TP
\fB\-v\fR, \fB\-vv\fR, \fB\-vvv\fR
Set the log level for this run to 1, 2 or 3 (higher == more verbose).
.TP
.SS"Commands:"
.TP
\-k, \fB\-\-enterprise-uuid\fR <uuid>
If you have a key, provide it this way. This will configure the host to use the Alteeve enterprise repository. (see 'man alteeve-repo-setup' for repo options).
.TP
\-k, \fB\-\-host-ip-address\fR <ip_address>
This is the IP address of the target node or DR host.
.TP
\-k, \fB\-\-password\fR <string>
This is the current \fBroot\fR user's password on the target node or DR host.
.TP
\-k, \fB\-\-rh-password\fR <string>
If the target is a Red Hat Enterprise Linux OS, and if the target is not yet connected to a subscription, you can provide the \fBrh-user\fR and this password to have the target subscribed during initialization.
.TP
\-k, \fB\-\-rh-user\fR <string>
If the target is a Red Hat Enterprise Linux OS, and if the target is not yet connected to a subscription, you can provide this user name and \fBrh-password\fR to have the target subscribed during initialization.
.TP
\-k, \fB\-\-ssh-port\fR <number, default 22>
If you need to connect over a non-standard port, you can set it with this switch.
.TP
\-k, \fB\-\-target\fR <ip_address>
Alternative to \fB\-\-host-ip-address\fR.
.TP
\-k, \fB\-\-type\fR <'node' or 'dr'>
This indicates how you want the target to be initialized as.
.IP
.SHAUTHOR
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.
@ -531,6 +531,9 @@ The definition data passed in was:
<keyname="error_0374">The long-throw license file: [#!variable!file!#] was not found, so unable to install it.</key>
<keyname="error_0375">There was a problem with the "Long-throw" lincense file. This will prevent Long-Throw DR from working. Details of the error will be recorded in the log file.</key>
<keyname="error_0376">[ Error ] - (At least) two interfaces have the same MAC address assigned to them. This should not happen, and would cause endless reboots. Unable to complete configuration, please re-map the network again and watch for duplicates. The duplicate MAC address is: [#!variable!mac_address!#] which is used by both: [#!variable!iface1!#] and: [#!variable!iface2!#].</key>
<keyname="error_0377">[ Error ] - The '--type' must be 'host' or 'dr'. Was given: [#!variable!type!#].</key>
<keyname="error_0378">[ Error ] - The UUID: [#!variable!uuid!#] is not a valid UUID.</key>
<keyname="error_0379">[ Error ] - Neither '--host-ip-address' or '--target' were used to define who we are trying to connect to.</key>
<!-- Files templates -->
<!-- NOTE: Translating these files requires an understanding of which lines are translatable -->