initial files
This commit is contained in:
commit
728e578bf0
3 changed files with 27 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
packer_cache/
|
16
debian-babelbox.json
Normal file
16
debian-babelbox.json
Normal file
|
@ -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
Executable file
10
setup-babelbox.sh
Executable file
|
@ -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…
Reference in a new issue