Loading src/network.sh +8 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,10 @@ configureDHCP() { fi ;; esac if ! ip link set dev "$VM_NET_TAP" mtu "$MTU"; then warn "Failed to set MTU size.." fi while ! ip link set "$VM_NET_TAP" up; do info "Waiting for MAC address $VM_NET_MAC to become available..." sleep 2 Loading Loading @@ -214,6 +218,10 @@ configureNAT() { error "$tuntap" && return 1 fi if ! ip link set dev "$VM_NET_TAP" mtu "$MTU"; then warn "Failed to set MTU size.." fi GATEWAY_MAC=$(echo "$VM_NET_MAC" | rev) GATEWAY_MAC="02:${GATEWAY_MAC:0:14}" Loading Loading
src/network.sh +8 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,10 @@ configureDHCP() { fi ;; esac if ! ip link set dev "$VM_NET_TAP" mtu "$MTU"; then warn "Failed to set MTU size.." fi while ! ip link set "$VM_NET_TAP" up; do info "Waiting for MAC address $VM_NET_MAC to become available..." sleep 2 Loading Loading @@ -214,6 +218,10 @@ configureNAT() { error "$tuntap" && return 1 fi if ! ip link set dev "$VM_NET_TAP" mtu "$MTU"; then warn "Failed to set MTU size.." fi GATEWAY_MAC=$(echo "$VM_NET_MAC" | rev) GATEWAY_MAC="02:${GATEWAY_MAC:0:14}" Loading