Browse Source

initial files

remotes/origin/HEAD
Jan Dittberner 7 years ago
commit
728e578bf0
  1. 1
      .gitignore
  2. 16
      debian-babelbox.json
  3. 10
      setup-babelbox.sh

1
.gitignore

@ -0,0 +1 @@
packer_cache/

16
debian-babelbox.json

@ -0,0 +1,16 @@
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Debian",
"iso_url": "http://cdimage.debian.org/debian-cd/7.7.0/i386/iso-cd/debian-7.7.0-i386-netinst.iso",
"iso_checksum": "55312b562c4559187bb175959eacb783ab3ab15ff882bd6ad171e8159850a767",
"iso_checksum_type": "sha256",
"ssh_username": "demo",
"ssh_password": "babelbox",
"ssh_wait_timeout": "30s",
"shutdown_command": "echo 'packer' | sudo -S shutdown -P now",
"disk_size": 8192,
"headless": false,
"http_directory": "http"
}]
}

10
setup-babelbox.sh

@ -0,0 +1,10 @@
#!/bin/sh
set -e
if [ ! -f http/debian-7.7.0-i386-DVD-1.iso ]; then
cd http
wget http://cdimage.debian.org/debian-cd/current/i386/iso-dvd/debian-7.7.0-i386-DVD-1.iso
cd ..
fi
packer build debian-babelbox.json
Loading…
Cancel
Save