1
0
mirror of synced 2026-05-03 14:58:48 +00:00
Files
xen-tools.xen-tools/etc/hook.d/99-clean-image
steve 606b6758f7 2005-12-25 02:16:00 by steve
Added headers to each script and made some minor updates for some.
2005-12-25 02:16:00 +00:00

15 lines
271 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
# --
# $Id: 99-clean-image,v 1.3 2005-12-25 02:16:00 steve Exp $
prefix=$1
chroot $prefix /usr/bin/apt-get clean