Set 5 attempts to umount tmpfs
This commit is contained in:
parent
d3b8bff839
commit
c11d339baa
1 changed files with 3 additions and 2 deletions
|
@ -2080,8 +2080,9 @@ if __name__ == "__main__":
|
||||||
(
|
(
|
||||||
"/usr/bin/env",
|
"/usr/bin/env",
|
||||||
"sudo",
|
"sudo",
|
||||||
"umount",
|
"bash",
|
||||||
tmpfs_path,
|
"-c",
|
||||||
|
f"for ((i=0; i<5; ++i)); do if umount {tmpfs_path}; then break; fi; sleep 1; done",
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
other_state["tmpfs_chroot"],
|
other_state["tmpfs_chroot"],
|
||||||
|
|
Loading…
Reference in a new issue