bootstrap: stop creating swap

We used to create swap because we couldn't get a deployment to
fit in our upstream CI systems.  The average swap usage now is
1-2 MB but it can take up to 15-20 minutes to create the swap
which can cause jobs to timeout.

This patch stops us from creating swap as it's not necessary,
if we run out of memory, we should probably look into that issue
as an AIO inside 8GB of memory is plenty!

Change-Id: I587d1fe984e8b9040e341b69aeb450ec5459d60f
This commit is contained in:
Mohammed Naser 2018-11-30 10:12:28 -05:00
parent e859e19959
commit 5b6fc9c425
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ bootstrap_user_variables_extra_templates:
# The size of the loopback volumes can be customized here (in gigabytes).
#
# Boolean option to deploy the loopback disk for Swap
bootstrap_host_loopback_swap: yes
bootstrap_host_loopback_swap: no
# Size of the Swap loopback disk in gigabytes (GB).
bootstrap_host_loopback_swap_size: 4096
#