[PATCH 2/2 master] Actually create default ifcfg files (#849012)
Radek Vykydal
rvykydal at redhat.com
Mon Aug 20 12:38:06 UTC 2012
This is fix for F18 alpha. For better fix
* The Network() will be replaced with something like init_networking,
(perhaps with bringing up dhcp in thread). I have pending patches
that need some rework:
https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-July/000290.html
* default ifcfg files might be created in dracut
---
anaconda | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/anaconda b/anaconda
index a6bb720..1f12a21 100755
--- a/anaconda
+++ b/anaconda
@@ -935,6 +935,7 @@ if __name__ == "__main__":
from pyanaconda.storage import storageInitialize
from pyanaconda.packaging import payloadInitialize
from pyanaconda.threads import initThreading, threadMgr, AnacondaThread
+ from pyanaconda.network import Network
if anaconda.rescue:
from pyanaconda.rescue import doRescue
@@ -943,6 +944,7 @@ if __name__ == "__main__":
initThreading()
threadMgr.add(AnacondaThread(name="AnaStorageThread", target=storageInitialize, args=(anaconda.storage, ksdata, anaconda.protected)))
threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload)))
+ Network()
atexit.register(exitHandler, ksdata.reboot, anaconda.storage)
--
1.7.4
More information about the anaconda-patches
mailing list