2 Commits

Author SHA1 Message Date
Jeremy Stanley
b43fca1f77 Restrict nodepool memory only when possible
* .../files/nodepool/scripts/restrict_memory.sh: We have different
bootloader versions/implementations on different providers and
platforms, and in some cases may even have no accessible bootloader
configuration at all we can modify. Make this script more adaptable
and make sure it does not cause image builds to fail when run in
those situations.

Change-Id: If47fcdb60142d38d604a8f49be7885e61df8f34b
2014-03-13 17:03:59 +00:00
Clark Boylan
5f3937bcb4 Limit non tripleo nodepool nodes to 8GB of RAM
Limit the non tripleo nodepool nodes to 8GB of RAM regardless of the
flavor used. This allows us to use arbitrary flavors that may have the
CPU resources that we require without risk that we become dependent on
the vast amounts of RAM that typically come with more CPU.

While we are at it set grub timeout to 0 saving 5 seconds of boottime
for every server we boot.

Change-Id: Ia38341239e0189c84a21a4f58dd7ca637490a27b
2014-03-06 14:14:58 -08:00