diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 13:10:13 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 15:07:53 -0500 |
commit | 7ea42d120f84005dce27a9d3ca98732c929999ab (patch) | |
tree | 1690eebaaf94f14182ee9f66c179ee6d1de13da1 /network.py | |
parent | 7959758242dfbed72be1376daeecb2132a1b5f23 (diff) | |
download | anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.gz anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.xz anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.zip |
Move storage into the Anaconda class.
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network.py b/network.py index 6d3f07d8d..a3fb8ee9e 100644 --- a/network.py +++ b/network.py @@ -589,10 +589,10 @@ class Network: # installation when / is on a network backed device. if anaconda is not None: import storage - rootdev = anaconda.id.storage.rootDevice + rootdev = anaconda.storage.rootDevice # FIXME: use d.host_address to only add "NM_CONTROLLED=no" # for interfaces actually used enroute to the device - for d in anaconda.id.storage.devices: + for d in anaconda.storage.devices: if isinstance(d, storage.devices.NetworkStorageDevice) and\ (rootdev.dependsOn(d) or d.nic == device): f.write("NM_CONTROLLED=no\n") |