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

[PATCH 18/22] 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)\n" % (dev.description,)
                     else:
                         s = "# %s (rule written by anaconda)\n" % (devname,)
-                        s = s + 'SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", KERNEL=="%s*", NAME="%s"\n' % (addr, basename, devname,)
+                    s = s + 'SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", KERNEL=="%s*", NAME="%s"\n' % (addr, basename, devname,)
 
                     f.write(s)
 
-- 
1.6.0.6


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