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