diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2012-11-16 09:15:03 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2012-11-27 14:26:44 +0100 |
commit | 88a7dd389e189262a703a1282f7d0919b247eb38 (patch) | |
tree | 92207571b7f7c99eaa693bcfc0f8dfb07be50f2a /anaconda | |
parent | fff9e934860a7eedce1f02873e63e7792b8b289c (diff) | |
download | anaconda-88a7dd389e189262a703a1282f7d0919b247eb38.tar.gz anaconda-88a7dd389e189262a703a1282f7d0919b247eb38.tar.xz anaconda-88a7dd389e189262a703a1282f7d0919b247eb38.zip |
Wait for slower dhcp for payload setup and hostname setting (#873468)
Cases I tested:
(spoke is pre-hub network spoke)
Link has (slow) dhcp:
- connected in payload init, connected in spoke
- not connected in payload init, connected in spoke
- fixed by the patch
- not connected in payload init, not connected in spoke
- subcases: - wait for connection in spoke
- leave spoke while connecting
- fixed by the patch
Link does not have dhcp:
- configure static connection and leave spoke
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -973,9 +973,8 @@ if __name__ == "__main__": doRescue(anaconda.rescue_mount, ksdata, anaconda.platform) threadMgr.add(AnacondaThread(name="AnaStorageThread", target=storageInitialize, args=(anaconda.storage, ksdata, anaconda.protected))) + threadMgr.add(AnacondaThread(name="AnaNetworkThread", target=networkInitialize, args=(ksdata,))) threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload))) - # TODO start dhcp in thread if we have no connection - networkInitialize(ksdata) atexit.register(exitHandler, ksdata.reboot, anaconda.storage) |