1
0
mirror of synced 2026-05-05 23:56:19 +00:00
Files
xen-tools.xen-tools/etc/hook.d/99-clean-image
steve c45a6eba1f 2006-03-13 10:00:47 by steve
Remove the CVS $ID:$ markers from the file to avoid merge warnings.
2006-03-13 10:00:47 +00:00

14 lines
239 B
Bash
Executable File

#!/bin/sh
#
# This script runs 'apt-get clean' on the freshly created image,
# to make sure it has the maximum available amount of free space.
#
# Steve
# --
# http://www.steve.org.uk/
prefix=$1
chroot ${prefix} /usr/bin/apt-get clean