Re: [PATCH rhel5-branch] Quote ETHTOOL_OPTS value in stage 2 (#674473)

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

 



On 03/29/2011 01:43 PM, Radek Vykydal wrote:
From: Masahiro Matsuya<mmatsuya@xxxxxxxxxx>

Signed-off-by: Radek Vykydal<rvykydal@xxxxxxxxxx>
---
  network.py |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/network.py b/network.py
index 84776e4..ff5e06e 100644
--- a/network.py
+++ b/network.py
@@ -149,6 +149,8 @@ class NetworkDevice(SimpleConfigFile):
              # make sure we include autoneg in the ethtool line
              elif key == 'ETHTOOL_OPTS' and self.info[key].find("autoneg")== -1:
                  s = s + key + """="autoneg off %s"\n""" % (self.info[key])
+            elif key == 'ETHTOOL_OPTS':
+                s = s + key + """="%s"\n""" % (self.info[key])
              elif self.info[key] is not None:
                  s = s + key + "=" + self.info[key] + "\n"


Ack.

Ales

_______________________________________________
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