mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix dns in the overlay
This commit is contained in:
@@ -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}`
|
||||||
|
|||||||
Reference in New Issue
Block a user