aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-18 20:32:21 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-18 20:32:21 -0500
commitf8de2e403932c59a2055a1aa116ba99caab3884b (patch)
tree5d4d393c098c748204f6bd11598458d449f36777
parent4748a4102d54d1c08c5bfc1f6225db1324dd5c0a (diff)
downloadinfrastructure-f8de2e403932c59a2055a1aa116ba99caab3884b.tar.gz
use userland freebsd version for ldap description
-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.