puppetlabs/Razor-Microkernel — pull request #6 by tjmcs (2012-10-10 14:37:20+00:00)
Title: Fixes issue in the RazorMicrokernel::RzNetworkUtils::wait_until_nw_avail method

This issue was discovered during testing of the Microkernel with servers that used a Broadcom NetExtreme II card. In this situation, a race-condition could occur that resulted in the Microkernel not being able to detect the underlying network (the bnx2 firmware kernel module was being repeatedly reloaded and the DHCP client was being restarted immediately after that kernel module was reloaded but before the network was fully initialized in the underlying kernel; as a result, none of the network cards were showing a valid IP address when the check for a valid IP address was being made). With this fix in place, that race-condition is prevented (and the Microkernel initialization process can complete successfully). This pull request also includes a small change to the build-bundle-file.sh that means that a customized version of the /opt/bootlocal.sh file (if it exists) would also be included as part of the bundle file that is built by that script. It isn't important in the current release but might be important later (if we decide to customize this script).