mirror of https://github.com/jumpserver/jumpserver
Merge with dev
commit
c8c0366b39
|
@ -36,7 +36,7 @@ Web批量执行命令
|
||||||
|
|
||||||
### 特点
|
### 特点
|
||||||
|
|
||||||
* 完全真开源,GPL授权
|
* 完全开源,GPL授权
|
||||||
* Python编写,容易再次开发
|
* Python编写,容易再次开发
|
||||||
* 实现了跳板机基本功能,认证、授权、审计
|
* 实现了跳板机基本功能,认证、授权、审计
|
||||||
* 集成了Ansible,批量命令等
|
* 集成了Ansible,批量命令等
|
||||||
|
|
|
@ -192,15 +192,15 @@ class PreSetup(object):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _pull():
|
def _pull():
|
||||||
color_print('开始更新jumpserver', 'green')
|
color_print('开始更新jumpserver', 'green')
|
||||||
bash('git pull')
|
# bash('git pull')
|
||||||
os.chdir(os.path.join(jms_dir, 'install'))
|
os.chdir(jms_dir)
|
||||||
os.chmod('logs', 0777)
|
os.chmod('logs', 0777)
|
||||||
os.chmod('keys', 0777)
|
os.chmod('keys', 0777)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
self._rpm_repo()
|
# self._rpm_repo()
|
||||||
self._depend_rpm()
|
# self._depend_rpm()
|
||||||
self._require_pip()
|
# self._require_pip()
|
||||||
self._set_env()
|
self._set_env()
|
||||||
self._input_ip()
|
self._input_ip()
|
||||||
self._input_mysql()
|
self._input_mysql()
|
||||||
|
|
Loading…
Reference in New Issue