diff --git a/main.sh b/main.sh index 3283ba3..21d5cb9 100755 --- a/main.sh +++ b/main.sh @@ -30,7 +30,8 @@ for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do test -f "${i}"/preinstall && source "${i}"/preinstall done -mkdir -p "${dest}"/tmp/installer/tmp +mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc +cp -rf /etc/resolv.conf "${dest}"/etc cp -rf "${vars}" "${dest}"/tmp/installer/tmp #rm -rf "${vars}" cp -rf "${modules}" "${dest}"/tmp/installer