diff options
author | Chris Lumens <clumens@redhat.com> | 2008-08-11 09:58:26 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-08-11 09:58:26 -0400 |
commit | 0014526d76e3f6bf340a029da51c573fcce02cac (patch) | |
tree | 9cad6af267429274dfb90fa2fb95cc404527c50a /network.py | |
parent | 03c30046232d2edc47e1a65e0210c8eabee110f8 (diff) | |
download | anaconda-0014526d76e3f6bf340a029da51c573fcce02cac.tar.gz anaconda-0014526d76e3f6bf340a029da51c573fcce02cac.tar.xz anaconda-0014526d76e3f6bf340a029da51c573fcce02cac.zip |
udev rules have changed location (#458570).
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network.py b/network.py index 1947da674..f6296f7cb 100644 --- a/network.py +++ b/network.py @@ -587,11 +587,11 @@ class Network: f.write("nameserver %s\n" % (ns,)) f.close() - # /etc/udev/rules.d/70-persistent-net.rules - if not os.path.isdir("%s/etc/udev/rules.d" %(instPath,)): - iutil.mkdirChain("%s/etc/udev/rules.d" %(instPath,)) + # /lib/udev/rules.d/70-persistent-net.rules + if not os.path.isdir("%s/lib/udev/rules.d" %(instPath,)): + iutil.mkdirChain("%s/lib/udev/rules.d" %(instPath,)) - f = open(instPath + "/etc/udev/rules.d/70-persistent-net.rules", "w") + f = open(instPath + "/lib/udev/rules.d/70-persistent-net.rules", "w") f.write(""" # This file was automatically generated by the /lib/udev/write_net_rules # program run by the persistent-net-generator.rules rules file. |