Set swapfile to 2GB for all virtual envs
Related-Prod: PROD-36426
Change-Id: I9bbfbaad96edbe23ea916e6cbcedcfce66474f2c
diff --git a/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
@@ -41,7 +41,7 @@
runcmd:
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile
diff --git a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml
@@ -41,7 +41,7 @@
runcmd:
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile
diff --git a/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay--user-data-foundation.yaml
@@ -41,7 +41,7 @@
runcmd:
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile
diff --git a/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay--user-data-foundation.yaml
@@ -41,7 +41,7 @@
runcmd:
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile
diff --git a/tcp_tests/templates/released-heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/released-heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/released-heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/released-heat-cicd-queens-contrail41-sl/underlay--user-data-foundation.yaml
@@ -41,7 +41,7 @@
runcmd:
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile
diff --git a/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay-userdata.yaml b/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay-userdata.yaml
index bb6338c..d998d47 100644
--- a/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay-userdata.yaml
@@ -36,7 +36,7 @@
#- sudo route add default gw {gateway} {interface_name}
# Create swap
- - fallocate -l 16G /swapfile
+ - fallocate -l 2G /swapfile
- chmod 600 /swapfile
- mkswap /swapfile
- swapon /swapfile