Skip to content

Commit

Permalink
clean up old Ubuntu initrds
Browse files Browse the repository at this point in the history
for some reason /boot contains both initrds with and without .img
even if the ones with are not used, however, as /boot space is limited
they prevent upgrades of packages, failing our pipelines

delete them

we don't really care about new kernels, or rebooting those VMs, but we
care about updated userland, and this prevents it

See lavabit/robox#294 for details
  • Loading branch information
evgeni committed Jan 26, 2024
1 parent b06a0ae commit 3e2a5f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/vagrant_workarounds/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
vtype: boolean
when:
- ansible_os_family == 'Debian'

# workaround for https://github.com/lavabit/robox/issues/294
- name: clean up old Ubuntu initrds
shell: rm -f /boot/*-generic.img
when:
- ansible_os_family == 'Debian'

0 comments on commit 3e2a5f5

Please sign in to comment.