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 GCC

 
 
LinkBack Thread Tools
 
Old 04-27-2010, 08:50 AM
Radek Vykydal
 
Default Actually generate contents of 70-persistent-net.rules.

I don't know if it really causes any problems right now,
just noticed it when working on nm-c-e configuration in stage 2.
Introduced by typo in commit 0ba6cb516da384e30efdd0dbd70a6c12336fd4f5.
---
network.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/network.py b/network.py
index 9fc67a1..76355a4 100644
--- a/network.py
+++ b/network.py
@@ -717,7 +717,7 @@ class Network:
s = "# %s (rule written by anaconda)
" % (dev.description,)
else:
s = "# %s (rule written by anaconda)
" % (devname,)
- s = s + 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", KERNEL=="%s*", NAME="%s"
' % (addr, basename, devname,)
+ s = s + 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", KERNEL=="%s*", NAME="%s"
' % (addr, basename, devname,)

f.write(s)

--
1.6.0.6

_______________________________________________
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 05:32 AM.

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