Fix grub-install invocation for post-wheezy releases and sid (issue #78)
[grml-debootstrap.git] / packer / debian64_wheezy.json
1 {
2   "variables": {
3     "grml_type": "grml64-full",
4     "grml_version": "2014.03",
5     "grml_iso_checksum": "1d3a0adfa3d395746e9e7f8748faec536f5c7b84"
6   },
7
8   "builders": [
9   {
10     "type": "virtualbox-iso",
11     "vm_name": "{{ user `grml_type` }}_{{ user `grml_version` }}",
12     "guest_os_type": "Debian_64",
13     "hard_drive_interface": "sata",
14     "iso_url": "http://download.grml.org/{{ user `grml_type` }}_{{ user `grml_version` }}.iso",
15     "iso_checksum": "{{ user `grml_iso_checksum` }}",
16     "iso_checksum_type": "sha1",
17     "ssh_wait_timeout": "20m",
18     "ssh_username": "root",
19     "ssh_password": "grml",
20     "output_directory": "{{ user `grml_type` }}_output",
21     "headless": false,
22     "boot_wait": "5s",
23     "boot_command": [
24       "<tab> ssh=grml <enter>"
25     ],
26     "shutdown_command": "shutdown -h now"
27   }
28   ],
29     "provisioners": [
30     {
31       "type": "file",
32       "source": "fake-uname.so",
33       "destination": "/tmp/fake-uname.so"
34     },
35     {
36       "type": "file",
37       "source": "debian64.bats",
38       "destination": "/tmp/debian64.bats"
39     },
40     {
41       "type": "file",
42       "source": "../grml-debootstrap",
43       "destination": "/tmp/grml-debootstrap"
44     },
45     {
46       "type": "shell",
47       "scripts": [
48         "debian64_provision.sh"
49         ]
50     }
51   ],
52     "post-processors": [
53     {
54       "type": "vagrant",
55       "compression_level": 5,
56       "override": {
57         "virtualbox": {
58           "output": "debian64_wheezy.box"
59         }
60       }
61     }
62   ]
63 }