Attempt to build Debian 8 Box

This commit is contained in:
Jan Dittberner 2016-02-26 18:33:27 +01:00
parent 6be90fa095
commit e5b1594023
3 changed files with 86 additions and 6 deletions

View file

@ -2,15 +2,36 @@
"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_url": "http://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-8.3.0-i386-netinst.iso",
"iso_checksum": "f270d1ffa0f9472464bfc0fffa7ac3ddc89abb5786eb02454f26e49f143b01d6",
"iso_checksum_type": "sha256",
"ssh_username": "demo",
"ssh_password": "babelbox",
"ssh_wait_timeout": "30s",
"ssh_wait_timeout": "1800s",
"shutdown_command": "echo 'packer' | sudo -S shutdown -P now",
"disk_size": 8192,
"disk_size": 10240,
"headless": false,
"http_directory": "http"
"http_directory": "http",
"boot_command": [
"<esc><wait>",
"install <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=demo.local <wait>",
"fb=false <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "5s",
"vm_name": "babelbox-jessie",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--cpus", "1"]
]
}]
}