Cloudbox/Cloudbox

Purge old kernels before updating

iFloris asked for this feature almost 3 years ago — 4 comments

iFloris commented almost 3 years ago

Ubuntu has a known issue that /boot gets full after a few apt dist-upgrade kernel updates. Cloudbox already contains the script "purge-old-kernels" so perhaps as part of the package upgrading part of [sudo ansible-playbook cloudbox.yml --tags "full"], this script could be triggered. This prevents a full /boot from breaking the script. See https://speakofthedevel.com/surviving-ubuntus-out-of-space-boot-partition/ for more information.

desimaniac commented almost 3 years ago Admin

We added this now

- name: Remove dependencies that are no longer required
  apt:
    autoremove: yes

desimaniac commented almost 3 years ago Admin

| iFloris commented almost 3 years ago

Awesome, thanks a lot!

Join the discussion!

Sign-in with GitHub to comment