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

Re: [PATCH 18/22] Actually generate contents of 70-persistent-net.rules.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Tue, 27 Apr 2010, Radek Vykydal wrote:

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)



- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvfkTMACgkQ5hsjjIy1VkkM2gCgpwhk4QZmoRTQCGVLxl4jMoz2
qW8AoJkas036AGueaz/6QNsB0+ja6WJp
=tODW
-----END PGP SIGNATURE-----


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