The cloud-init package has a hard dependency on the automatic update
mechanism in Ubuntu 14.04. As removing this causes systems to not be
accessible when booted, instead we're just going disable all of the
options for the automatic update system
Change-Id: Ic6a8af2dfdaa7238e6273919b93da32a9d3f6692
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
# install haveged to avoid low entropy rejecting ssh connections
apt-get install haveged
update-rc.d haveged defaults
+
+ # disable unattended upgrades & daily updates
+ echo '---> Disabling automatic daily upgrades'
+ sed -ine 's/"1"/"0"/g' /etc/apt/apt.conf.d/10periodic
+ echo 'APT::Periodic::Unattended-Upgrade "0";' >> /etc/apt/apt.conf.d/10periodic
}
all_systems() {