diff --git a/create-vmachine.sh b/create-vmachine.sh index 790855e..0bad0bd 100755 --- a/create-vmachine.sh +++ b/create-vmachine.sh @@ -56,6 +56,8 @@ mount -t tmpfs tmpfs "${MOUNTPOINT}"/run echo "Extracting stage tarball..." tar -xjpf "${STAGE_TBZ}" -C "${MOUNTPOINT}" +cp -L /etc/resolv.conf "${MOUNTPOINT}/etc/resolv.conf" + echo "Installing critical packages..." # Installing packages must be done in a chroot instead of using the $ROOT # Portage environment variable because several ebuilds use enewuser/enewgroup