diff --git a/xCAT-server/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall b/xCAT-server/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall index 5fbd8e26a..ad071c87c 100755 --- a/xCAT-server/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall +++ b/xCAT-server/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall @@ -21,14 +21,15 @@ profile=$4 workdir=$5 #-- Example how /etc/fstab can be automatically generated during image generation: -#cat <$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 <$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 diff --git a/xCAT-server/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall b/xCAT-server/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall index c2abfa6b5..f157e7421 100644 --- a/xCAT-server/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall +++ b/xCAT-server/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall @@ -21,14 +21,14 @@ profile=$4 workdir=$5 #-- Example how /etc/fstab can be automatically generated during image generation: -#cat <$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 <$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