Skip to content

Commit ac25c90

Browse files
committed
fall back to 1.1.1.1 if DHCP client doesn't update resolv.conf
Signed-off-by: Andreas Schröder <[email protected]>
1 parent 8b49072 commit ac25c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/muvm/src/guest/mount.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub fn mount_filesystems() -> Result<()> {
139139
println!("Failed to mount FEX rootfs, carrying on without.")
140140
}
141141

142-
place_etc("resolv.conf", None)?;
142+
place_etc("resolv.conf", Some("nameserver 1.1.1.1\n"))?;
143143

144144
mount2(
145145
Some("binfmt_misc"),

0 commit comments

Comments
 (0)