cdist/cdist/conf/type/__hostname/man.rst

53 lines
856 B
ReStructuredText
Raw Normal View History

cdist-type__hostname(7)
=======================
NAME
----
cdist-type__hostname - Set the hostname
2016-05-20 06:50:56 +00:00
Steven Armstrong <steven-cdist--@--armstrong.cc>
DESCRIPTION
-----------
Set's the hostname on various operating systems.
REQUIRED PARAMETERS
-------------------
None.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
name
The hostname to set. Defaults to the first segment of __target_host
(${__target_host%%.*})
MESSAGES
--------
2016-05-20 06:50:56 +00:00
changed
Changed the hostname
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
# take hostname from __target_host
__hostname
2016-05-20 06:50:56 +00:00
# set hostname explicitly
__hostname --name some-static-hostname
SEE ALSO
--------
2016-05-20 06:50:56 +00:00
- `cdist-type(7) <cdist-type.html>`_
COPYING
-------
Copyright \(C) 2012 Steven Armstrong. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).