if (fclose(fp) == EOF) {
return 3;
diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index a8c28bd..a1d8613 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -925,8 +925,6 @@ class InstallInterface(InstallInterfaceBase):
# update ifcfg files for nm-c-e
self.anaconda.network.setNMControlledDevices(nm_co ntrolled_devices)
- if not just_setup:
- self.anaconda.network.presetDefaultConfiguration([install_device])
# we might want to do this only once
if self.anaconda.network.hasWirelessDev():
diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 5f3a225..581ea72 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -565,11 +565,6 @@ class Network:
else:
device.set(('ONBOOT', 'yes'))
- def presetDefaultConfiguration(self, devices=None):
- for devname, device in self.netdevices.items():
- if not devices or devname in devices:
- device.set(('BOOTPROTO', 'dhcp'))
-
def getOnbootControlledIfaces(self):
ifaces = []
for iface, device in self.netdevices.items():
--
1.7.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list