NOTE: This is for RHEL/centOS.
Currently my way of configuring the MTU is via GUI using
system-config-network and setting the MTU to 4096. I would like a non-interactive script to do this instead.
How do you configure the MTU for all network adapters via a script?
Changing the MTU for a specific network adapter using
system-config-network will actually result in making a persistent change to the adapter's configuration. I need the script to also make changes that are persistent.