tmpfs for /tmp and /var/tmp not required for service nodes,

only compute nodes to prevent users from hosing nodes.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
datajerk 2008-03-28 21:54:31 +00:00
parent 83f2e914f9
commit a96d0fe86c

View File

@ -363,9 +363,9 @@ sub create_fstab
$fstabtemplate[3] = "#tmpfs /dev/shm tmpfs rw 0 0\n";
$fstabtemplate[4] = "compute_x86_64 / tmpfs rw 0 1\n";
$fstabtemplate[5] =
"none /tmp tmpfs defaults,size=10m 0 2\n";
"#none /tmp tmpfs defaults,size=10m 0 2\n";
$fstabtemplate[6] =
"none /var/tmp tmpfs defaults,size=10m 0 2\n";
"#none /var/tmp tmpfs defaults,size=10m 0 2\n";
open(FSTABCFG, ">$file")
or