Loading src/disk.sh +1 −0 Original line number Diff line number Diff line Loading @@ -365,6 +365,7 @@ createDevice () { "usb" ) result="$result \ -device usb-storage,drive=${DISK_ID}${index}" echo "$result" ;; "ide" ) result="$result \ Loading src/network.sh +3 −3 Original line number Diff line number Diff line Loading @@ -327,7 +327,7 @@ fi if [[ "$DHCP" == [Yy1]* ]]; then ! checkOS && exit 19 ! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19 if [[ "$GATEWAY" == "172."* ]]; then warn "your gateway IP starts with 172.* which is often a sign that you are not on a macvlan network (required for DHCP)!" Loading @@ -341,8 +341,8 @@ if [[ "$DHCP" == [Yy1]* ]]; then else if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10."* ]]; then ! checkOS && exit 19 if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10.8"* ]] && [[ "$GATEWAY" != "10.9"* ]]; then ! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19 fi # Shutdown nginx Loading Loading
src/disk.sh +1 −0 Original line number Diff line number Diff line Loading @@ -365,6 +365,7 @@ createDevice () { "usb" ) result="$result \ -device usb-storage,drive=${DISK_ID}${index}" echo "$result" ;; "ide" ) result="$result \ Loading
src/network.sh +3 −3 Original line number Diff line number Diff line Loading @@ -327,7 +327,7 @@ fi if [[ "$DHCP" == [Yy1]* ]]; then ! checkOS && exit 19 ! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19 if [[ "$GATEWAY" == "172."* ]]; then warn "your gateway IP starts with 172.* which is often a sign that you are not on a macvlan network (required for DHCP)!" Loading @@ -341,8 +341,8 @@ if [[ "$DHCP" == [Yy1]* ]]; then else if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10."* ]]; then ! checkOS && exit 19 if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10.8"* ]] && [[ "$GATEWAY" != "10.9"* ]]; then ! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19 fi # Shutdown nginx Loading