Please note - you may want to validate whether the options used affect your setup.
Create a new service file.
nano /etc/systemd/system/disable-offloading.service
Paste the required information/command in the newly created service file - please change eth0
to your desired adapter.
[Unit]
Description=Disable NIC offloading
After=network.target
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -K eth0 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
Load the new service file and enable on reboot.
systemctl daemon-reexec && systemctl daemon-reload && systemctl enable disable-offloading.service
I have just implemented this script and performed a reboot. Apart from
systemctl status disable-offloading.service
(which is showing as active), is there a way to check if the command itself has been successful at load? lol I know a big giveaway will be if Proxmox doesnt die but I would rather some way to check upfront the command has successfully been applied.