mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix dns in the overlay
This commit is contained in:
@@ -26,6 +26,8 @@ export class Overlay {
|
||||
shared.push("run")
|
||||
}
|
||||
|
||||
fs.copyFile("/etc/resolv.conf", `${rootfs}/etc/resolv.conf`)
|
||||
|
||||
for (const dirPart of shared) {
|
||||
const from = `/${dirPart}`
|
||||
const to = `${rootfs}/${dirPart}`
|
||||
|
||||
Reference in New Issue
Block a user