Skip to content

hostname

daniel edited this page May 16, 2021 · 13 revisions

/bootstrap-plugins/hostname - configure hostname

Config parameters

Name Description Default Value
RPI_HOSTNAME hostname to set unnamed

Distfiles

  • /etc/hostname
  • /etc/hosts

Examples

RPI_BOOTSTRAP_PLUGINS+=("hostname") to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "hostname" ... ) to place at some position in the current list.

set hostname to "foobar"

RPI_HOSTNAME="foobar"

set random hostname from dict

RPI_HOSTNAME="$(shuf --head-count=1 /usr/share/dict/cracklib-small)"

Tests

TODO

Clone this wiki locally