fix dns in the overlay

This commit is contained in:
Aiden McClelland
2024-08-06 14:27:05 -06:00
parent 0e8530172c
commit d0c2dc53fe

View File

@@ -26,6 +26,8 @@ export class Overlay {
shared.push("run") shared.push("run")
} }
fs.copyFile("/etc/resolv.conf", `${rootfs}/etc/resolv.conf`)
for (const dirPart of shared) { for (const dirPart of shared) {
const from = `/${dirPart}` const from = `/${dirPart}`
const to = `${rootfs}/${dirPart}` const to = `${rootfs}/${dirPart}`