Loading src/define.sh +3 −3 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ getURL() { "gentoo" | "gentoolinux" | "gentoo-linux" ) name="Gentoo Linux" if [[ "$ret" == "url" ]]; then if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then body=$(pipe "https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/latest-iso.txt") || exit 65 version=$(echo "$body" | grep livegui | cut -d' ' -f1) url="https://distfiles.gentoo.org/releases/amd64/autobuilds/$version" Loading Loading @@ -199,7 +199,7 @@ getURL() { ;; "url" ) if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then if [ -n "$name" ] && [ -z "$url" ]; then error "No image for $name available!" return 1 Loading @@ -211,7 +211,7 @@ getURL() { fi fi if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then echo "$url" else echo "$arm" Loading src/network.sh +8 −1 Original line number Diff line number Diff line Loading @@ -492,7 +492,14 @@ else closeBridge NETWORK="user" warn "falling back to user-mode networking! Performance will be bad and port mapping will not work." msg="falling back to user-mode networking!" if [ ! - f "/run/.containerenv" ]; then msg="an error occured, $msg" else msg="podman rootless mode detected, $msg" fi warn "$msg" [ -z "$USER_PORTS" ] && info "Notice: port mapping will not work without \"USER_PORTS\" now." fi Loading Loading
src/define.sh +3 −3 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ getURL() { "gentoo" | "gentoolinux" | "gentoo-linux" ) name="Gentoo Linux" if [[ "$ret" == "url" ]]; then if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then body=$(pipe "https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/latest-iso.txt") || exit 65 version=$(echo "$body" | grep livegui | cut -d' ' -f1) url="https://distfiles.gentoo.org/releases/amd64/autobuilds/$version" Loading Loading @@ -199,7 +199,7 @@ getURL() { ;; "url" ) if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then if [ -n "$name" ] && [ -z "$url" ]; then error "No image for $name available!" return 1 Loading @@ -211,7 +211,7 @@ getURL() { fi fi if [[ "${ARCH,,}" != "arm64" ]]; then if [[ "${MACHINE,,}" != "virt" ]]; then echo "$url" else echo "$arm" Loading
src/network.sh +8 −1 Original line number Diff line number Diff line Loading @@ -492,7 +492,14 @@ else closeBridge NETWORK="user" warn "falling back to user-mode networking! Performance will be bad and port mapping will not work." msg="falling back to user-mode networking!" if [ ! - f "/run/.containerenv" ]; then msg="an error occured, $msg" else msg="podman rootless mode detected, $msg" fi warn "$msg" [ -z "$USER_PORTS" ] && info "Notice: port mapping will not work without \"USER_PORTS\" now." fi Loading