FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-29-2011, 11:43 AM
Radek Vykydal
 
Default Quote ETHTOOL_OPTS value in stage 2 (#674473)

From: Masahiro Matsuya <mmatsuya@redhat.com>

Signed-off-by: Radek Vykydal <rvykydal@redhat.com>
---
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"
""" % (self.info[key])
+ elif key == 'ETHTOOL_OPTS':
+ s = s + key + """="%s"
""" % (self.info[key])
elif self.info[key] is not None:
s = s + key + "=" + self.info[key] + "
"

--
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-29-2011, 12:24 PM
Ales Kozumplik
 
Default Quote ETHTOOL_OPTS value in stage 2 (#674473)

On 03/29/2011 01:43 PM, Radek Vykydal wrote:

From: Masahiro Matsuya<mmatsuya@redhat.com>

Signed-off-by: Radek Vykydal<rvykydal@redhat.com>
---
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"
""" % (self.info[key])
+ elif key == 'ETHTOOL_OPTS':
+ s = s + key + """="%s"
""" % (self.info[key])
elif self.info[key] is not None:
s = s + key + "=" + self.info[key] + "
"



Ack.

Ales

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

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org