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 da442e8c70 2005-12-24 12:42:44 by steve
Migrated most of the commands to setup the new host into external hooks.
2005-12-24 12:42:44 +00:00

13 lines
210 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.
#
prefix=$1
hostname=$2
chroot $prefix /usr/bin/apt-get clean