fix: pass --resolv-conf=bind-host when executing commands in rootfs

This commit is contained in:
Rudra Saraswat 2026-04-02 14:58:56 +01:00
parent 694eddb3e1
commit 3c07cd05b9

View file

@ -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,