From cf92a3c49d34772bda9558f7ff7bf7874662b2c7 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 21 Jul 2010 18:41:11 +0000 Subject: [PATCH] -Attempt to repair BoMC DNS if messed up after pivot root git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/mktoolscenter | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/share/xcat/tools/mktoolscenter b/xCAT-server/share/xcat/tools/mktoolscenter index 0996c5aa6..2ac32bc91 100755 --- a/xCAT-server/share/xcat/tools/mktoolscenter +++ b/xCAT-server/share/xcat/tools/mktoolscenter @@ -383,6 +383,7 @@ if [ -z "${xcat_server}" ]; then fi if [ "$1" != "serial-on" ]; then #if this terminal is a fake, don't use it, awkward structure, but oh well + if [ ! -f /etc/resolv.conf ]; then cp /initrd/etc/resolv.conf /etc/resolv.conf; fi # setup a mount point mkdir -p /bomc MNTPOINT=/bomc