fix: add MTU size fix for Proxmox/Docker network compatibility
Update README Actions Table / update-readme (push) Successful in 4s

This commit is contained in:
2026-06-13 09:57:22 -07:00
parent ff42edcb94
commit 0a0511c27a
+13
View File
@@ -17,6 +17,19 @@ inputs:
runs:
using: 'composite'
steps:
- name: Fix MTU size for Proxmox/Docker network compatibility
shell: bash
run: |
DEFAULT_INTERFACE=$(ip route show | grep default | awk '{print $5}')
if [ -n "$DEFAULT_INTERFACE" ]; then
echo "Setting MTU of $DEFAULT_INTERFACE to 1400..."
if [ "$(id -u)" -eq 0 ]; then
ip link set dev "$DEFAULT_INTERFACE" mtu 1400 || true
else
sudo ip link set dev "$DEFAULT_INTERFACE" mtu 1400 || true
fi
fi
- name: Setup Node
uses: actions/setup-node@v4
with: