default set resolvconf
This commit is contained in:
parent
19d4d2fb83
commit
cc11459748
1 changed files with 3 additions and 0 deletions
3
unbox.sh
3
unbox.sh
|
@ -72,6 +72,9 @@ function unbox_outer_stage(){
|
||||||
mount -obind /dev target/dev
|
mount -obind /dev target/dev
|
||||||
mount -obind /dev/pts target/dev/pts
|
mount -obind /dev/pts target/dev/pts
|
||||||
|
|
||||||
|
resolv_conf=target/etc/resolv.conf
|
||||||
|
|
||||||
|
|
||||||
if [[ -L target/etc/resolv.conf ]]; then
|
if [[ -L target/etc/resolv.conf ]]; then
|
||||||
|
|
||||||
resolv_conf=$(readlink "target/etc/resolv.conf")
|
resolv_conf=$(readlink "target/etc/resolv.conf")
|
||||||
|
|
Loading…
Reference in a new issue