mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	-Provide a better hint for service network stop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -274,7 +274,6 @@ 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 | ||||
| @@ -282,6 +281,7 @@ if [ "\$NFS" = "1" ]; then | ||||
|   mount --move /ro /sysroot/ro | ||||
|   mount --move /rw /sysroot/rw | ||||
|   cp /etc/resolv.conf /sysroot/etc/ | ||||
|   echo xcatfs / aufs rw,_netdev 0 0 >> /rw/etc/fstab | ||||
| elif [ -r /rootimg.sfs ]; then | ||||
|   echo Setting up squashfs with ram overlay. | ||||
|   mknod /dev/loop0 b 7 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user