-Have nfs aufs stateless hint that the root device is via network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
eeb4e46b9b
commit
eae4818fcc
@ -274,6 +274,7 @@ if [ "\$NFS" = "1" ]; then
|
||||
mkdir -p /rw/etc
|
||||
mkdir -p /rw/var/lib/dhclient
|
||||
cp /etc/resolv.conf /rw/etc/
|
||||
echo xcatfs / aufs rw,_netdev 0 0 > /rw/etc/mtab
|
||||
cp /var/lib/dhclient/dhclient.leases /rw/var/lib/dhclient/dhclient-$prinic.leases
|
||||
mount -t aufs -o dirs=/rw:/ro mergedroot /sysroot
|
||||
mkdir -p /sysroot/ro
|
||||
|
Loading…
Reference in New Issue
Block a user