--- rc.sysinit.orig 2009-07-30 14:48:54.545395611 -0400 +++ rc.sysinit 2009-07-30 14:59:47.630395753 -0400 @@ -485,6 +485,9 @@ done done + # Use resolv.conf passed by initramfs netboot + [ -f /dev/.initramfs/resolv.conf ] && cp /dev/.initramfs/resolv.conf /etc/ + # In theory there should be no more than one network interface active # this early in the boot process -- the one we're booting from. # Use the network address to set the hostname of the client. This This patch copies resolv.conf from dracut netboot if it exists, allowing the following hostname setting to work.
Line wrapping munged the above, but it should be obvious what to do.
http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=fa2a1c8077d7835103f2412e3ef32947d1d988b2