11 lines
170 B
Python
11 lines
170 B
Python
|
import os
|
||
|
mounts = [
|
||
|
"proc",
|
||
|
"sys",
|
||
|
"dev",
|
||
|
os.path.join("dev","pts")
|
||
|
]
|
||
|
|
||
|
for mount in mounts:
|
||
|
_g["mountBind"](os.path.sep + mount,os.path.join(_chroot["dir"],mount))
|