aboutsummaryrefslogtreecommitdiff
path: root/scripts/os
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/os')
-rw-r--r--scripts/os/freebsd/50-idm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/os/freebsd/50-idm b/scripts/os/freebsd/50-idm
index 1e5e877..814cacb 100644
--- a/scripts/os/freebsd/50-idm
+++ b/scripts/os/freebsd/50-idm
@@ -58,7 +58,7 @@ objectClass: ldapPublicKey
cn: ${BOXCONF_HOSTNAME}
associatedDomain: ${fqdn}
$(cat /usr/local/etc/ssh/ssh_host_*_key.pub | cut -d' ' -f-2 | sed 's/^/sshPublicKey: /')
-description: $(uname -mrs) ${BOXCONF_HOSTCLASS}
+description: FreeBSD $(freebsd-version) ${BOXCONF_HOSTCLASS}
EOF
# Create A record.
@@ -97,7 +97,7 @@ replace: sshPublicKey
$(cat /usr/local/etc/ssh/ssh_host_*_key.pub | cut -d' ' -f-2 | sed 's/^/sshPublicKey: /')
-
replace: description
-description: $(uname -mrs) ${BOXCONF_HOSTCLASS}
+description: FreeBSD $(freebsd-version) ${BOXCONF_HOSTCLASS}
EOF
# Create host principal and keytab.