Skip to content

Commit

Permalink
Merge pull request #637 from chef/i-hate-computers
Browse files Browse the repository at this point in the history
I regret to inform you that this is in fact the fix
  • Loading branch information
Seth Thomas authored Jul 28, 2016
2 parents fca7d76 + d5677a2 commit d480f3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/ubuntu/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ sed -i.bak 's/^Prompt=.*$/Prompt=never/' /etc/update-manager/release-upgrades;
# Update the package list
apt-get -y update;

# Upgrade all installed packages incl. kernel and kernel headers
apt-get -y dist-upgrade --force-yes;
reboot;
sleep 60;

# update package index on boot
cat <<EOF >/etc/init/refresh-apt.conf;
description "update package index"
Expand All @@ -34,6 +29,11 @@ if [ "$ubuntu_version" = "12.04" ]; then
fi

# Disable periodic activities of apt
cat <<EOF >/etc/apt/apt.conf.d/10disable-periodic
cat <<EOF >/etc/apt/apt.conf.d/10disable-periodic;
APT::Periodic::Enable "0";
EOF

# Upgrade all installed packages incl. kernel and kernel headers
apt-get -y dist-upgrade;
reboot;
sleep 60;

0 comments on commit d480f3a

Please sign in to comment.