summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/setup/provision.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision.pl b/source4/setup/provision.pl
index 3eba4ac248..c0b5a6ea0b 100755
--- a/source4/setup/provision.pl
+++ b/source4/setup/provision.pl
@@ -4,7 +4,7 @@ use strict;
use Socket;
use Getopt::Long;
-my $opt_hostname = `hostname`;
+my $opt_hostname = `hostname | cut -d. -f1`;
chomp $opt_hostname;
my $opt_hostip;
my $opt_realm;