summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-23 12:21:24 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-23 12:21:24 -0600
commite1a7fe9887886044b07587b3ec2caa2ff53ebfb2 (patch)
tree447c0c31e503a74f9247d36c2947d8a483f68836 /network.py
parent715e529c7ae2742ff57f7b9eba055e92e8077d82 (diff)
downloadanaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.tar.gz
anaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.tar.xz
anaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.zip
Updates to make existing code use the new storage module.
Diffstat (limited to 'network.py')
-rw-r--r--network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.py b/network.py
index af6d858f7..3531de999 100644
--- a/network.py
+++ b/network.py
@@ -585,8 +585,8 @@ class Network:
# tell NM not to touch the interface(s) actually used for /, but we
# have no logic to determine that
if anaconda is not None:
- rootdev = anaconda.id.fsset.getEntryByMountPoint("/").device
- if rootdev.isNetdev():
+ rootdev = anaconda.id.storage.fsset.rootDevice
+ if rootdev.isNetdev:
f.write("NM_CONTROLLED=no\n")
f.close()