diff --git a/xCAT-server/share/xcat/netboot/sles/compute.postinstall b/xCAT-server/share/xcat/netboot/sles/compute.postinstall index 74f99e350..734a63487 100755 --- a/xCAT-server/share/xcat/netboot/sles/compute.postinstall +++ b/xCAT-server/share/xcat/netboot/sles/compute.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 #-- Example of booted image versioning #-- We want to know, with what configuration (version of the image) each node was booted. diff --git a/xCAT-server/share/xcat/netboot/sles/compute.sles11.postinstall b/xCAT-server/share/xcat/netboot/sles/compute.sles11.postinstall index d97553030..c75134560 100755 --- a/xCAT-server/share/xcat/netboot/sles/compute.sles11.postinstall +++ b/xCAT-server/share/xcat/netboot/sles/compute.sles11.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