Unverified Commit 1197c479 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Port forwarding warning (#809)

parent 106c6843
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -397,7 +397,7 @@ else
    if ! configureNAT; then

      NETWORK="user"
      warn "falling back to usermode networking (slow)!"
      warn "falling back to usermode networking! Performance will be bad and port forwarding will not work."

      ip link set "$VM_NET_TAP" down promisc off &> null || true
      ip link delete "$VM_NET_TAP" &> null || true
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ if ! grep -qi "model name" <<< "$CPI"; then
  CPU="Unknown"
else
  CPU=$(echo "$CPI" | grep -m 1 -i 'model name' | cut -f 2 -d ":" | awk '{$1=$1}1' | sed 's# @.*##g' | sed s/"(R)"//g | sed 's/[^[:alnum:] ]\+/ /g' | sed 's/  */ /g')
  CPU="${CPU// with Radeon Graphics/}"
fi

# Check system