Skip to content

Commit

Permalink
fall back to 1.1.1.1 if DHCP client doesn't update resolv.conf
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Schröder <[email protected]>
  • Loading branch information
Andreas Schröder committed Nov 25, 2024
1 parent 8b49072 commit ac25c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/muvm/src/guest/mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub fn mount_filesystems() -> Result<()> {
println!("Failed to mount FEX rootfs, carrying on without.")
}

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

mount2(
Some("binfmt_misc"),
Expand Down

0 comments on commit ac25c90

Please sign in to comment.