Collect load statistic with atop each minute

Related-Prod: PRODX-3456
Change-Id: Id79350c3704b7b151ce5396bea219e9a99a1862c
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index 5571082..c53efdc 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -103,6 +103,12 @@
     fi
 }
 
+
+function configure_atop {
+    sed -i 's/INTERVAL=600/INTERVAL=60/' /usr/share/atop/atop.daily
+    systemctl restart atop
+}
+
 function install_required_packages {
     function install_retry {
         apt update
@@ -379,6 +385,7 @@
         prepare_network
         update_docker_network
         install_required_packages
+        configure_atop
         workaround_default_forward_policy
         install_docker
         swarm_init
@@ -398,6 +405,7 @@
         prepare_network
         update_docker_network
         install_required_packages
+        configure_atop
         workaround_default_forward_policy
         install_docker
         download_bundles
@@ -414,6 +422,7 @@
         prepare_network
         update_docker_network
         install_required_packages
+        configure_atop
         workaround_default_forward_policy
         install_docker
         download_bundles
@@ -430,6 +439,7 @@
         prepare_network
         update_docker_network
         install_required_packages
+        configure_atop
         install_docker
         download_bundles
         workaround_default_forward_policy