From e31f55ae720515c8d46e8800a4b72c7b5cdc4602 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 12 May 2010 13:41:10 +0000 Subject: [PATCH] -Fix name resolution in rhel6 stateless/statelite git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/dracut/xcatroot | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot index c4c12aebf..c76dcfcf7 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot +++ b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot @@ -240,6 +240,7 @@ for lf in /tmp/dhclient.*.lease; do netif=${netif%.*} cp $lf "$NEWROOT/var/lib/dhclient/dhclient-$netif.leases" done +cp /etc/resolv.conf "$NEWROOT/etc/" if [ -d "$NEWROOT/etc/sysconfig" -a ! -e "$NEWROOT/etc/sysconfig/selinux" ]; then echo "SELINUX=disabled" >> "$NEWROOT/etc/sysconfig/selinux"