Revision 9d9bded1 lib/hypervisor/hv_chroot.py
b/lib/hypervisor/hv_chroot.py | ||
---|---|---|
32 | 32 |
from ganeti import errors # pylint: disable=W0611 |
33 | 33 |
from ganeti import utils |
34 | 34 |
from ganeti import objects |
35 |
from ganeti import pathutils |
|
35 | 36 |
from ganeti.hypervisor import hv_base |
36 | 37 |
from ganeti.errors import HypervisorError |
37 | 38 |
|
... | ... | |
58 | 59 |
- instance alive check is based on whether any process is using the chroot |
59 | 60 |
|
60 | 61 |
""" |
61 |
_ROOT_DIR = constants.RUN_DIR + "/chroot-hypervisor"
|
|
62 |
_ROOT_DIR = pathutils.RUN_DIR + "/chroot-hypervisor"
|
|
62 | 63 |
|
63 | 64 |
PARAMETERS = { |
64 | 65 |
constants.HV_INIT_SCRIPT: (True, utils.IsNormAbsPath, |
Also available in: Unified diff