summaryrefslogtreecommitdiffstats
path: root/scripts/host-enroll.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/host-enroll.sh')
-rwxr-xr-xscripts/host-enroll.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/host-enroll.sh b/scripts/host-enroll.sh
index e65bb6d..69871af 100755
--- a/scripts/host-enroll.sh
+++ b/scripts/host-enroll.sh
@@ -2,4 +2,4 @@
. ./include.sh
-ipa-getkeytab -s localhost -p host/test.example.com -k test.keytab
+ipa-getkeytab -s $HOSTNAME -p host/test.example.com -k test.keytab