From 241833b7f320e7fca84ba226f1ecbb0c963534f7 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 12 Jul 2024 15:20:54 -0400 Subject: initial commit of hypervisor configs --- scripts/os/freebsd/20-hostname | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/os/freebsd/20-hostname (limited to 'scripts/os/freebsd/20-hostname') 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 -- cgit v1.2.3