Merge with dev

pull/26/head
ibuler 2015-12-19 21:14:16 +08:00
commit c8c0366b39
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ Web批量执行命令
### 特点
* 完全开源GPL授权
* 完全开源GPL授权
* Python编写容易再次开发
* 实现了跳板机基本功能,认证、授权、审计
* 集成了Ansible批量命令等

View File

@ -192,15 +192,15 @@ class PreSetup(object):
@staticmethod
def _pull():
color_print('开始更新jumpserver', 'green')
bash('git pull')
os.chdir(os.path.join(jms_dir, 'install'))
# bash('git pull')
os.chdir(jms_dir)
os.chmod('logs', 0777)
os.chmod('keys', 0777)
def start(self):
self._rpm_repo()
self._depend_rpm()
self._require_pip()
# self._rpm_repo()
# self._depend_rpm()
# self._require_pip()
self._set_env()
self._input_ip()
self._input_mysql()