Commit f7032b68 by Edward Zarecor

Merge pull request #2663 from edx/e0d/fix-mtu

Fixing MTU setting
parents 43b85eb2 bc1e289e
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
when: ansible_distribution in common_debian_variants when: ansible_distribution in common_debian_variants
- lineinfile: > - lineinfile: >
dest=/etc/dhcp/dhclient.conf dest=/etc/network/interfaces.d/eth0.cfg
regexp="^supercede interfact-mtu" regexp="^post-up /sbin/ifconfig eth0 mtu 1500"
line="supercede interface-mtu 1500;" line="post-up /sbin/ifconfig eth0 mtu 1500"
insertbefore="^request" insertafter="^iface"
when: ansible_distribution in common_debian_variants when: ansible_distribution in common_debian_variants
# #
# End dealing with Jumbo frames issue in mixed MTU deployements in AWS # End dealing with Jumbo frames issue in mixed MTU deployements in AWS
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment