Repository: couchdb Updated Branches: refs/heads/master 71fb2b8c1 -> a84fcb2d9
Set -name to hostname during ./configure for Win64 CC @janl simple enough ;) Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a84fcb2d Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a84fcb2d Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a84fcb2d Branch: refs/heads/master Commit: a84fcb2d98af2781b2c595c15d84ced5474de09c Parents: 71fb2b8 Author: Joan Touzet <woh...@apache.org> Authored: Wed Sep 9 22:14:40 2015 -0400 Committer: Joan Touzet <woh...@apache.org> Committed: Wed Sep 9 22:16:40 2015 -0400 ---------------------------------------------------------------------- configure.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/a84fcb2d/configure.ps1 ---------------------------------------------------------------------- diff --git a/configure.ps1 b/configure.ps1 index 75a6d17..23f2a5b 100644 --- a/configure.ps1 +++ b/configure.ps1 @@ -114,6 +114,7 @@ $InstallDir="$LibDir\couchdb" $LogFile="$LogDir\couch.log" $BuildFauxton = [int](-not $DisableFauxton) $BuildDocs = [int](-not $DisableDocs) +$Hostname = [System.Net.Dns]::GetHostEntry([string]"localhost").HostName Write-Verbose "==> configuring couchdb in rel\couchdb.config" $CouchDBConfig = @" @@ -138,7 +139,7 @@ $CouchDBConfig = @" {log_file, "$LogFile"}. {fauxton_root, "$DataRootDir/couchdb/www"}. {user, "$CouchDBUser"}. -{node_name, "-name couchdb"}. +{node_name, "-name $Hostname"}. {cluster_port, 5984}. {backend_port, 5986}. "@