IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
소스 검색

Removed unused jail_run_v2

tags/0.92
부모
커밋
bf79569d00
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. +0
    -9
      jail.py

+ 0
- 9
jail.py 파일 보기

@@ -82,15 +82,6 @@ def jail_create(path, command, env, mounts, hostname=None):
return name
def jail_run_v2(path, command, env, mounts):
name = os.path.split(path)[-1]
command = gen_env_command(command, env)
jail_create(path, None, None, mounts)
subprocess.check_output([ 'jail', '-c', name ])
subprocess.run([ 'jexec', name, '/bin/sh', '-c', command ])
subprocess.check_output([ 'jail', '-r', name ])
def get_jid(path):
data = json.loads(subprocess.check_output(['jls', '--libxo=json']))
lst = data['jail-information']['jail']


불러오는 중...
취소
저장