summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
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 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")