Files
system-config/make_swap.sh
Clark Boylan 319c9c44f0 Use swapfile if no extra device is present
We are booting instances outside of rax and they don't always come with
extra devices that can be repurposed for swap. If in that case then
create a swapfile instead.

Note we do not use fallocate as swapon's manpage says this is suboptimal
with the linux kernel's swap implementation.

Change-Id: I8b9ce18c18e4069aba7de27bb6a9927627b15b49
2019-07-17 10:37:30 -07:00

3.3 KiB