-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
This commit is contained in:
parent
5c704e8550
commit
cf92a3c49d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user