default set resolvconf
This commit is contained in:
parent
cc11459748
commit
92d700d944
1 changed files with 0 additions and 2 deletions
2
unbox.sh
2
unbox.sh
|
@ -74,7 +74,6 @@ function unbox_outer_stage(){
|
||||||
|
|
||||||
resolv_conf=target/etc/resolv.conf
|
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")
|
||||||
|
@ -91,7 +90,6 @@ function unbox_outer_stage(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -e target/etc/resolv.conf ]]; then
|
if [[ -e target/etc/resolv.conf ]]; then
|
||||||
echo cp -L /etc/resolv.conf $resolv_conf
|
|
||||||
cp -L /etc/resolv.conf $resolv_conf
|
cp -L /etc/resolv.conf $resolv_conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue