diff --git a/scripts/sabayon_iso_build.sh b/scripts/sabayon_iso_build.sh index 5cafbbf..38d2542 100755 --- a/scripts/sabayon_iso_build.sh +++ b/scripts/sabayon_iso_build.sh @@ -348,10 +348,6 @@ export_docker_rootfs () { opts="--pull" fi - echo "Checking if Docker is available, otherwise restarting it" - systemctl show --property ActiveState docker | \ - grep -q inactive && systemctl start docker - echo "Building Spinbase with Docker image: "${docker_image} # Cleaning previous generation @@ -374,6 +370,9 @@ export_docker_rootfs () { return 1 fi + echo "nameserver 1.1.1.1" > ${targetdir}/etc/resolv.conf + echo "nameserver 8.8.8.8" >> ${targetdir}/etc/resolv.conf + if [ ! -e "${undocker_output_directory}/dev/urandom" ]; then echo "/dev/urandom not present on unpacked chroot. creating it " mknod -m 444 "${undocker_output_directory}"/dev/urandom c 1 9 || return 1