7 mount -t proc none /proc/
8 mount -t sysfs non /sys/
10 apt-get remove --purge `dpkg-query -W --showformat '${Package}\n' | grep language-pack | egrep -v '\-en'`
11 apt-get remove --purge `dpkg-query -W --showformat '${Package}\n' | grep openoffice\.org-`
13 cat >/etc/apt/sources.list <<EOF
14 deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
15 deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
16 deb http://archive.ubuntu.com/ubuntu/ hardy universe
17 deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
18 deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
19 deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
20 deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
21 deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
22 deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
28 apt-get install openssh-server subversion kdetoys kicker-applets kgpg gftp \
32 dpkg-query -W --showformat='${Package} ${Version}\n' >filesystem.manifest
36 rm -f /etc/hosts /etc/resolv.conf
40 cp sqfs/filesystem.manifest .
41 rm -f sqfs/filsystem.manifest