X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=packer%2Fdebian64_wheezy.json;fp=packer%2Fdebian64_wheezy.json;h=80de5bd79f32221e5c5ea946a30b8608c8ea06d7;hp=0000000000000000000000000000000000000000;hb=7fc0e06e6bb818dd8410e8dc2341da015121203a;hpb=1081c44c4f6368490481c4c5b48281f3846cbed1 diff --git a/packer/debian64_wheezy.json b/packer/debian64_wheezy.json new file mode 100644 index 0000000..80de5bd --- /dev/null +++ b/packer/debian64_wheezy.json @@ -0,0 +1,63 @@ +{ + "variables": { + "grml_type": "grml64-full", + "grml_version": "2014.03", + "grml_iso_checksum": "1d3a0adfa3d395746e9e7f8748faec536f5c7b84" + }, + + "builders": [ + { + "type": "virtualbox-iso", + "vm_name": "{{ user `grml_type` }}_{{ user `grml_version` }}", + "guest_os_type": "Debian_64", + "hard_drive_interface": "sata", + "iso_url": "http://download.grml.org/{{ user `grml_type` }}_{{ user `grml_version` }}.iso", + "iso_checksum": "{{ user `grml_iso_checksum` }}", + "iso_checksum_type": "sha1", + "ssh_wait_timeout": "20m", + "ssh_username": "root", + "ssh_password": "grml", + "output_directory": "{{ user `grml_type` }}_output", + "headless": false, + "boot_wait": "5s", + "boot_command": [ + " ssh=grml " + ], + "shutdown_command": "shutdown -h now" + } + ], + "provisioners": [ + { + "type": "file", + "source": "fake-uname.so", + "destination": "/tmp/fake-uname.so" + }, + { + "type": "file", + "source": "debian64.bats", + "destination": "/tmp/debian64.bats" + }, + { + "type": "file", + "source": "../grml-debootstrap", + "destination": "/tmp/grml-debootstrap" + }, + { + "type": "shell", + "scripts": [ + "debian64_provision.sh" + ] + } + ], + "post-processors": [ + { + "type": "vagrant", + "compression_level": 5, + "override": { + "virtualbox": { + "output": "debian64_wheezy.box" + } + } + } + ] +}