hpc integration is replacing by kit. so the duplicated setting in xcat-server such as /etc/fstab generation should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -21,14 +21,15 @@ profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| #-- Example how /etc/fstab can be automatically generated during image generation: | ||||
| #cat <<END >$installroot/etc/fstab | ||||
| #proc            /proc    proc   rw 0 0 | ||||
| #sysfs           /sys     sysfs  rw 0 0 | ||||
| #devpts          /dev/pts devpts rw,gid=5,mode=620 0 0 | ||||
| #${profile}_${arch}      /        tmpfs  rw 0 1 | ||||
| #none            /tmp     tmpfs  defaults,size=10m 0 2 | ||||
| #none            /var/tmp tmpfs  defaults,size=10m 0 2 | ||||
| #END | ||||
| cat <<END >$installroot/etc/fstab | ||||
| proc            /proc    proc   rw 0 0 | ||||
| sysfs           /sys     sysfs  rw 0 0 | ||||
| devpts          /dev/pts devpts rw,gid=5,mode=620 0 0 | ||||
| ${profile}_${arch}      /        tmpfs  rw 0 1 | ||||
| none            /tmp     tmpfs  defaults,size=10m 0 2 | ||||
| none            /var/tmp tmpfs  defaults,size=10m 0 2 | ||||
| END | ||||
|  | ||||
|  | ||||
| #-- Uncomment the line contains "cons" in /etc/inittab | ||||
| #cons:12345:respawn:/sbin/smart_agetty -L 38400 console | ||||
|   | ||||
| @@ -21,14 +21,14 @@ profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| #-- Example how /etc/fstab can be automatically generated during image generation: | ||||
| #cat <<END >$installroot/etc/fstab | ||||
| #proc            /proc    proc   rw 0 0 | ||||
| #sysfs           /sys     sysfs  rw 0 0 | ||||
| #devpts          /dev/pts devpts rw,gid=5,mode=620 0 0 | ||||
| #${profile}_${arch}      /        tmpfs  rw 0 1 | ||||
| #none            /tmp     tmpfs  defaults,size=10m 0 2 | ||||
| #none            /var/tmp tmpfs  defaults,size=10m 0 2 | ||||
| #END | ||||
| cat <<END >$installroot/etc/fstab | ||||
| proc            /proc    proc   rw 0 0 | ||||
| sysfs           /sys     sysfs  rw 0 0 | ||||
| devpts          /dev/pts devpts rw,gid=5,mode=620 0 0 | ||||
| ${profile}_${arch}      /        tmpfs  rw 0 1 | ||||
| none            /tmp     tmpfs  defaults,size=10m 0 2 | ||||
| none            /var/tmp tmpfs  defaults,size=10m 0 2 | ||||
| END | ||||
|  | ||||
| #-- Uncomment the line contains "cons" in /etc/inittab | ||||
| #cons:12345:respawn:/sbin/smart_agetty -L 38400 console | ||||
|   | ||||
		Reference in New Issue
	
	Block a user