tmpfs doesn't "use" 50% of ram, that is just the default maximum size.
It only uses however much data is written to it. So the only reason to
adjust the size is if you need to limit the amount of data that can be
written to any particular tmpfs. Most of the time this isn't
necessary. For systems with a persistent root partition a traditional
/etc/fstab can be used to adjust the mount options. So to limit the
size of /tmp the following should work:
tmpfs /tmp tmpfs size=2G 0 0
For PXE systems there isn't an option I can think of that will let you
specify the limit in advance but you can always remount the
filesystems afterwards to apply the new limit:
mount -o remount,size=2G /tmp
> --
> You received this message because you are subscribed to the Google Groups
> "CoreOS User" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
coreos-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.