mirror of https://github.com/jumpserver/jumpserver
fix install bug
parent
0896c9ab3f
commit
caa0e29564
|
@ -126,7 +126,7 @@ class PreSetup(object):
|
||||||
smtp.quit()
|
smtp.quit()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except (SMTPAuthenticationError, socket.timeout), e:
|
except (SMTPAuthenticationError, socket.timeout, socket.gaierror), e:
|
||||||
color_print(e, 'red')
|
color_print(e, 'red')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,7 @@ class Setup(object):
|
||||||
def start(self):
|
def start(self):
|
||||||
print "开始安装Jumpserver, 要求环境为 CentOS 6.5 x86_64"
|
print "开始安装Jumpserver, 要求环境为 CentOS 6.5 x86_64"
|
||||||
self._sync_db()
|
self._sync_db()
|
||||||
|
self._input_admin()
|
||||||
self._create_admin()
|
self._create_admin()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue