1CDIST-TYPE__HOSTNAME(7)              cdist             CDIST-TYPE__HOSTNAME(7)
2
3
4

NAME

6       cdist-type__hostname - Set the hostname
7

DESCRIPTION

9       Sets the hostname on various operating systems.
10
11       Tip: For advice on choosing a hostname, see RFC 1178.
12

REQUIRED PARAMETERS

14       None.
15

OPTIONAL PARAMETERS

17       name   The  hostname  to  set.  Defaults to the first segment of __tar‐
18              get_host (${__target_host%%.*})
19

MESSAGES

21       changed
22              Changed the hostname
23

EXAMPLES

25          # take hostname from __target_host
26          __hostname
27
28          # set hostname explicitly
29          __hostname --name some-static-hostname
30

AUTHORS

32       Steven Armstrong <steven-cdist--@--armstrong.cc>
33

COPYING

35       Copyright (C) 2012 Steven Armstrong. You  can  redistribute  it  and/or
36       modify  it  under  the  terms of the GNU General Public License as pub‐
37       lished by the  Free  Software  Foundation,  either  version  3  of  the
38       License, or (at your option) any later version.
39
41       ungleich GmbH 2019
42
43
44
45
466.4.0                            Jan 04, 2020          CDIST-TYPE__HOSTNAME(7)
Impressum