git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3898cdb
)
r7939: fix default hostname in provision
author
Andrew Tridgell
<tridge@samba.org>
Mon, 27 Jun 2005 05:28:09 +0000
(
05:28
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:53 +0000
(13:18 -0500)
source/setup/provision.pl
patch
|
blob
|
history
diff --git
a/source/setup/provision.pl
b/source/setup/provision.pl
index 3eba4ac248437d6a3344b17de2275f3589583f02..c0b5a6ea0b0ac54542906c9f18598ab10d2e9c6b 100755
(executable)
--- a/
source/setup/provision.pl
+++ b/
source/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;