fix bug 4382 :increase /tmp size for default ubuntu diskless node

This commit is contained in:
zhaoertao 2014-11-12 21:34:33 -05:00
parent e2c31bad27
commit b4d9167344

View File

@ -1568,8 +1568,8 @@ sub generic_post { #This function is meant to leave the image in a state approxi
print $cfgfile "tmpfs /tmp tmpfs defaults,size=$tmplimit 0 2\n";
print $cfgfile "tmpfs /var/tmp tmpfs defaults,size=$tmplimit 0 2\n";
} else {
print $cfgfile "tmpfs /tmp tmpfs defaults,size=10m 0 2\n";
print $cfgfile "tmpfs /var/tmp tmpfs defaults,size=10m 0 2\n";
print $cfgfile "tmpfs /tmp tmpfs defaults 0 2\n";
print $cfgfile "tmpfs /var/tmp tmpfs defaults 0 2\n";
}
my $rootfs_name=$profile."_".$arch;