summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2012-08-20 14:14:41 +0200
committerRadek Vykydal <rvykydal@redhat.com>2012-08-20 17:24:16 +0200
commit28d4b130b69d122bc2f756c577f9ce9e7eb7ef9f (patch)
treed96772eb1a09276e6b7f767635d3bb1188aafb3e /anaconda
parent551eb8a662b5fb74f3ce4c89138f81b42f5f49f4 (diff)
downloadanaconda-28d4b130b69d122bc2f756c577f9ce9e7eb7ef9f.tar.gz
anaconda-28d4b130b69d122bc2f756c577f9ce9e7eb7ef9f.tar.xz
anaconda-28d4b130b69d122bc2f756c577f9ce9e7eb7ef9f.zip
Actually create default ifcfg files (#849012)
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
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 2 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index a6bb720dc..1f12a21ff 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)