There's no more isNetdev method, so we'll have to use the type of the object as a test instead. --- network.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/network.py b/network.py index 3531de9..4a2eca9 100644 --- a/network.py +++ b/network.py @@ -585,8 +585,9 @@ 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: + import storage rootdev = anaconda.id.storage.fsset.rootDevice - if rootdev.isNetdev: + if isinstance(rootdev, storage.devices.NetworkDevice): f.write("NM_CONTROLLED=no\n") f.close() -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list