Skip to content
Permalink
Browse files
Remove unattended upgrades so ubuntu doesn't try to upgrade itself mid
job.

Authored-by: Sean Goller <sgoller@pivotal.io>
  • Loading branch information
smgoller committed Aug 19, 2019
1 parent 19aa89b commit f4c23902d197cf7b8be306815634df63e7e93eba
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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"
]
}
]

0 comments on commit f4c2390

Please sign in to comment.