Decrease swap size to 2G
Related prod: PROD-33921
Change-Id: I887c6b1fd9fcb620b19a74ae7157021c8623a32a
diff --git a/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay-userdata.yaml b/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/heat-cicd-k8s-contrail41-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
diff --git a/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay-userdata.yaml b/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/heat-cicd-pike-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
diff --git a/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay-userdata.yaml b/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/heat-cicd-queens-contrail41-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/heat-cicd-queens-contrail41-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
diff --git a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay-userdata.yaml b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/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
diff --git a/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay-userdata.yaml b/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/released-heat-cicd-pike-contrail41-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/released-heat-cicd-pike-contrail41-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
diff --git a/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay-userdata.yaml b/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay-userdata.yaml
index 567a445..763ee01 100644
--- a/tcp_tests/templates/released-heat-cicd-pike-dvr-sl/underlay-userdata.yaml
+++ b/tcp_tests/templates/released-heat-cicd-pike-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
diff --git a/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml b/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml
index 1677dcd..b1ef08b 100644
--- a/tcp_tests/templates/released-heat-cicd-queens-dvr-sl/underlay--user-data-foundation.yaml
+++ b/tcp_tests/templates/released-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