lxcfs-tools: wait a bit long time for lxcfs ready
Signed-off-by: zhangsong34 <zhangsong34@huawei.com>
This commit is contained in:
parent
28a3b75170
commit
0aa698a532
@ -156,7 +156,8 @@ func doprestart() error {
|
||||
|
||||
func waitForLxcfs() error {
|
||||
count := 0
|
||||
maxCount := 100
|
||||
// bugfix: wait a bit long time for lxcfs ready
|
||||
maxCount := 300
|
||||
|
||||
for count < maxCount {
|
||||
_, err := ioutil.ReadDir("/var/lib/lxc/lxcfs/proc")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user