Commit caa0e295 authored by ibuler's avatar ibuler

fix install bug

parent 0896c9ab
...@@ -126,7 +126,7 @@ class PreSetup(object): ...@@ -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): ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment