[refactor] Simplify ec2 detection + handling

This commit is contained in:
William Wernert committed 2020-07-01 16:23:38 -04:00
1 parent 26b0daf2da
commit 54c3327240
4 files changed
+71 -102

No files matched your search

@@ -4,5 +4,5 @@ if [[ "$DEVICE_IFACE" != "$MNIC" && "$DEVICE_IFACE" != *"docker"* ]]; then
for i in rx tx sg tso ufo gso gro lro; do
ethtool -K "$DEVICE_IFACE" "$i" off;
done
ip link set dev "$DEVICE_IFACE" arp off multicast off allmulticast off
ip link set dev "$DEVICE_IFACE" arp off multicast off allmulticast off promisc on
fi