diff options
Diffstat (limited to 'scripts/os/freebsd/20-hostname')
-rw-r--r-- | scripts/os/freebsd/20-hostname | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/os/freebsd/20-hostname b/scripts/os/freebsd/20-hostname new file mode 100644 index 0000000..bf7eeeb --- /dev/null +++ b/scripts/os/freebsd/20-hostname @@ -0,0 +1,6 @@ +#!/bin/sh + +# Set the fully qualified hostname. +sysrc -v hostname="${BOXCONF_HOSTNAME}.${domain}" +hostname "${BOXCONF_HOSTNAME}.${domain}" +install_template -m 0644 /etc/hosts |