HashiCorp Packer build configuration for Babelbox (Debian Installer Demo) VMs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
babelbox-packer/scripts/setup-babelbox.sh

14 lines
457 B

#!/bin/sh
set -e
apt-get install -y git wget
cd /srv
wget http://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/gtk/initrd.gz http://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/gtk/vmlinuz
git clone https://anonscm.debian.org/git/d-i/babelbox.git
cd babelbox
cat babelbox-grub >> /etc/grub.d/40_custom
update-grub
./cronscript
echo "You need to download a Debian i386 DVD ISO into /srv"