Add swap file to Ubuntu servers

Change-Id: I9d923d6af3808d78da828f6869aa0170f6bc5e71
This commit is contained in:
Federico Ressi 2020-11-24 10:48:05 +01:00
parent 5f0e732ea1
commit 8a83f72191
1 changed files with 3 additions and 0 deletions

View File

@ -49,3 +49,6 @@ class UbuntuServerStackFixture(_nova.ServerStackFixture):
#: Flavor used to create a Nova server instance
flavor_stack = tobiko.required_setup_fixture(UbuntuFlavorStackFixture)
#: Setup SWAP file in bytes
swap_maxsize = 1 * 1024 * 1024 * 1024 # 1 GB