diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-27 05:28:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:53 -0500 |
commit | a6b242639d7b5c0f20202cc40efc9eab24316ae7 (patch) | |
tree | 637218325f13ce1bd060021fad42a7636a09dfec /source4 | |
parent | e1e95277c0c7f86b15acd70ee3151ec2b3131c5e (diff) | |
download | samba-a6b242639d7b5c0f20202cc40efc9eab24316ae7.tar.gz samba-a6b242639d7b5c0f20202cc40efc9eab24316ae7.tar.bz2 samba-a6b242639d7b5c0f20202cc40efc9eab24316ae7.zip |
r7939: fix default hostname in provision
(This used to be commit 79d174005e3508745ea8b0bda2321abd184bf68b)
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/setup/provision.pl | 2 |
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; |