[PATCH rhel6-branch] Fix --mtu option to kickstart network command (#689081)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ian Ward Comfort <icomfort@xxxxxxxxxxxx>

mtu was not among the fields that NetworkData.execute was copying from the
kickstart data structure to the NetworkDevice object.

Resolves: rhbz#689081
---
 kickstart.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 56d67af..d882b6a 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -633,6 +633,9 @@ class NetworkData(commands.network.RHEL6_NetworkData):
             else:
                 dev.set (("ONBOOT", "no"))
 
+            if self.mtu:
+                dev.set(("MTU", self.mtu))
+
             if self.ethtool:
                 dev.set(("ETHTOOL_OPTS", self.ethtool))
 
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux