mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 15:37:19 +00:00
fix install bug
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user