CONSFIGURATOR.PROPERTY.HOSTNAME

API reference

General

Property: HOSTNAME:IS

(hostname:is hostname)

Specify that the hostname of this host is HOSTNAME. Useful for hosts implicitly defined inline using dotted propapp notation. Unlikely to be useful for hosts defined using DEFHOST.

Property: HOSTNAME:CONFIGURED

(hostname:configured &optional hostname)

Set the hostname in the standard Debian way.

Property: HOSTNAME:MAILNAME-CONFIGURED

(hostname:mailname-configured &optional mailname)

Sets the mailname to MAILNAME. The FQDN is a good choice for unclustered machines which do not have publically advertised MX records; in other cases it will often be better to use only the domain name portion of the hostname.

Property: HOSTNAME:SEARCH-CONFIGURED

(hostname:search-configured &optional domain)

Set the default DOMAIN for hostname lookup in /etc/resolv.conf. DOMAIN defaults to everything after the first dot of the machine’s hostname, which is assumed to be an FQDN.