Skip to content

Commit

Permalink
Merge pull request #593 from SchSeba/fix_k8s_ci
Browse files Browse the repository at this point in the history
fix k8s cluster script
  • Loading branch information
SchSeba authored Jan 25, 2024
2 parents bb34ac9 + b6de854 commit b6cc5f6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions hack/run-e2e-conformance-virtual-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,23 @@ method=disabled
[proxy]' > /etc/NetworkManager/system-connections/multi.nmconnection
chmod 600 /etc/NetworkManager/system-connections/multi.nmconnection
echo '[Unit]
Description=disable checksum offload to avoid vf bug
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c "ethtool --offload eth1 rx off tx off && ethtool -K eth1 gso off"
StandardOutput=journal+console
StandardError=journal+console
[Install]
WantedBy=default.target' > /etc/systemd/system/disable-offload.service
systemctl daemon-reload
systemctl enable --now disable-offload
systemctl restart NetworkManager
EOF
Expand Down

0 comments on commit b6cc5f6

Please sign in to comment.