clalancette / oz

Automated installation for guest images
GNU Lesser General Public License v2.1
310 stars 129 forks source link

fix bug of configuration of install timeout not working in configuration file #219

Closed onionsheep closed 8 years ago

onionsheep commented 8 years ago

[timeout]install specified in oz.cfg is not working . add a check of timeout after reading config file

clalancette commented 8 years ago

Ah, I see the bug, but I fixed it in a different way. We were not doing the right thing in Guest.py during install; if no timeout was passed in, we were just blindly assuming 1200, not the default_install_timeout that we parsed out of the configuration file. I've now fixed this in master; try it out and let me know if it works for you.

onionsheep commented 8 years ago

it works. Thank you. Sorry for have not read the codes carefully.