fix: pass --resolv-conf=bind-host when executing commands in rootfs
This commit is contained in:
parent
694eddb3e1
commit
3c07cd05b9
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ class RootFS:
|
||||||
"--quiet",
|
"--quiet",
|
||||||
"--pipe",
|
"--pipe",
|
||||||
"--timezone=off",
|
"--timezone=off",
|
||||||
|
"--resolv-conf=bind-host",
|
||||||
*[f"--setenv={name}={val}" for name, val in self.env.items()],
|
*[f"--setenv={name}={val}" for name, val in self.env.items()],
|
||||||
"-D",
|
"-D",
|
||||||
self.rootfs_path,
|
self.rootfs_path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue