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