From cc11459748823568293bd4cdab648426b7f35a95 Mon Sep 17 00:00:00 2001 From: jedi Date: Thu, 5 May 2022 23:23:06 +0200 Subject: [PATCH] default set resolvconf --- unbox.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unbox.sh b/unbox.sh index 4f958e1..bbb5c67 100755 --- a/unbox.sh +++ b/unbox.sh @@ -72,6 +72,9 @@ function unbox_outer_stage(){ mount -obind /dev target/dev mount -obind /dev/pts target/dev/pts + resolv_conf=target/etc/resolv.conf + + if [[ -L target/etc/resolv.conf ]]; then resolv_conf=$(readlink "target/etc/resolv.conf")