1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-08 18:59:03 +00:00

setup script: do not try to resolve hostname (#42)

* setup script: do not try to resolve hostname

* Fixed pil install in travis ci.
This commit is contained in:
Shuai Lin
2017-04-28 06:46:28 +00:00
committed by GitHub
parent e3851a9f2f
commit 05d2f19ec9
3 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,6 @@
set -e -x
pip install http://effbot.org/media/downloads/PIL-1.1.7.tar.gz
pip install -r ./integration-tests/requirements.txt
pushd $HOME

View File

@@ -1,3 +1,4 @@
Pillow==4.1.0
termcolor==1.1.0
prettytable==0.7.2
pexpect==4.0

View File

@@ -1273,8 +1273,7 @@ def check_params(args):
server_name = 'seafile'
ccnet_config.server_name = ccnet_config.validate_server_name(server_name)
server_ip = get_param_val(args.server_ip, 'SERVER_IP',
socket.gethostbyname(socket.gethostname()))
server_ip = get_param_val(args.server_ip, 'SERVER_IP', '127.0.0.1')
ccnet_config.ip_or_domain = ccnet_config.validate_server_ip(server_ip)
fileserver_port = get_param_val(args.fileserver_port, 'FILESERVER_PORT', '8082')