5 if [ -z "$TARGET" -o ! -d "$TARGET" ]; then
6 echo "Missing target directory"
10 chroot "$TARGET" apt-get -qq update
11 chroot "$TARGET" apt-get -qq install vim ssh extlinux
14 instance="$(cat $TARGET/etc/hostname)"
15 sed -e "s#root@$node#root@$instance#" -i "$TARGET"/etc/ssh/ssh*pub
17 if [ "$ARCH" = "amd64" ]; then
18 chroot "$TARGET" apt-get -qq install linux-image-amd64