summaryrefslogtreecommitdiff
path: root/integration/scripts/files/elements/guest-agent/post-install.d/99-clean-apt
blob: 35446f00ae2fd07bed3669d769bf4ece539dc68a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# CONTEXT: GUEST during CONSTRUCTION as ROOT
# PURPOSE: Delete contents of apt cache on guest (saves image disk space)

set -e
set -o xtrace

apt-get --assume-yes purge --auto-remove