node(titan-22): persist Realtek firmware

This commit is contained in:
jenkins 2026-08-22 20:55:47 -03:00
parent 074f988731
commit 091a787fc7

View File

@ -77,6 +77,13 @@ spec:
exit 0
fi
# Keep the RTL8153 firmware patch available for subsequent cold boots.
if ! dpkg-query -W -f="\${Status}" firmware-realtek 2>/dev/null | grep -q "install ok installed"; then
echo "installing firmware-realtek for ${usb_if}"
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends firmware-realtek
fi
if nmcli connection show "Wired connection 1" >/dev/null 2>&1; then
nmcli connection modify "Wired connection 1" connection.autoconnect no || true
fi