Updated the man pages for the cdist trigger and preos

This commit is contained in:
Dominique Roux 2019-02-01 17:49:14 +01:00 committed by Darko Poljak
parent 1a5cc67cc8
commit 4a5a475e3e
2 changed files with 6 additions and 4 deletions

View file

@ -26,7 +26,7 @@ For example, to create an ubuntu PreOS:
$ cdist preos ubuntu /preos/preos-ubuntu -B -C \
-k ~/.ssh/id_rsa.pub -p /preos/pxe-ubuntu \
-t "/usr/bin/curl 192.168.111.5:3000/install/"
-t "/usr/bin/curl 192.168.111.5:3000/cdist/install/"
For more info about the available options see the cdist manual page.
@ -148,7 +148,7 @@ Tipical use case for using PreOS and trigger command include the following steps
$ cdist preos ubuntu /preos/ubuntu -b -C \
-k ~/.ssh/id_rsa.pub -p /preos/pxe \
-t "/usr/bin/curl 192.168.111.5:3000/install/"
-t "/usr/bin/curl 192.168.111.5:3000/cdist/install/"
#. Configure dhcp server and tftp server.

View file

@ -13,8 +13,10 @@ This command starts trigger server at management node, for example:
This will start cdist trigger server in verbose mode. cdist trigger server accepts
simple requests for configuration and for installation:
* :strong:`/cdist/install/.*` for installation
* :strong:`/cdist/config/.*` for configuration.
* :strong:`/cdist/install/` for installation
* :strong:`/cdist/config/` for configuration.
Other configuration parameters are the same as in like cdist config (See `cdist <man1/cdist.html>`_).
Machines can then trigger cdist trigger server with appropriate requests.
If the request is, for example, for installation (:strong:`/cdist/install/`)