You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sm...@apache.org on 2019/08/19 19:22:01 UTC

[geode-benchmarks] branch develop updated: Remove unattended upgrades so ubuntu doesn't try to upgrade itself mid job.

This is an automated email from the ASF dual-hosted git repository.

smgoller pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new f4c2390  Remove unattended upgrades so ubuntu doesn't try to upgrade itself mid job.
f4c2390 is described below

commit f4c23902d197cf7b8be306815634df63e7e93eba
Author: Sean Goller <sg...@pivotal.io>
AuthorDate: Mon Aug 19 12:21:18 2019 -0700

    Remove unattended upgrades so ubuntu doesn't try to upgrade itself mid
    job.
    
    Authored-by: Sean Goller <sg...@pivotal.io>
---
 infrastructure/scripts/aws/image/packer.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/infrastructure/scripts/aws/image/packer.json b/infrastructure/scripts/aws/image/packer.json
index 1621ca4..f82f423 100644
--- a/infrastructure/scripts/aws/image/packer.json
+++ b/infrastructure/scripts/aws/image/packer.json
@@ -48,7 +48,9 @@
         "sudo update-java-alternatives -s java-1.8.0-openjdk-amd64",
         "sudo mv /tmp/defaults.cfg /etc/cloud/cloud.cfg.d/defaults.cfg",
         "sudo sh -c \"echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config\"",
-        "sudo sh -c \"echo 'net.ipv4.tcp_syncookies = 0' >> /etc/sysctl.conf\""
+        "sudo sh -c \"echo 'net.ipv4.tcp_syncookies = 0' >> /etc/sysctl.conf\"",
+        "sudo apt-get remove -y unattended-upgrades",
+        "sudo apt-get -y autoremove"
       ]
     }
   ]