From c603d331aaa70154865cb2240d8594898146347d Mon Sep 17 00:00:00 2001 From: Seth Thomas Date: Fri, 11 Sep 2015 08:51:49 -0600 Subject: [PATCH] Adding Debian 8.2, update 8.1 URL, use sha256 checksums --- debian-8.1-amd64.json | 7 +- debian-8.1-i386.json | 7 +- debian-8.2-amd64.json | 201 ++++++++++++++++++++++++++++++++++++++++++ debian-8.2-i386.json | 201 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 408 insertions(+), 8 deletions(-) create mode 100644 debian-8.2-amd64.json create mode 100644 debian-8.2-i386.json diff --git a/debian-8.1-amd64.json b/debian-8.1-amd64.json index 3ca0596ab..f7b1e7f23 100644 --- a/debian-8.1-amd64.json +++ b/debian-8.1-amd64.json @@ -186,11 +186,11 @@ "headless": "", "http_proxy": "{{env `http_proxy`}}", "https_proxy": "{{env `https_proxy`}}", - "iso_checksum": "22bae271a732333ebff150598292d9907d2c6001", - "iso_checksum_type": "sha1", + "iso_checksum": "10adbdac17a25ad44d0241ae978140c70ddfebdd0597d4a4bfea9fef8eaa9075", + "iso_checksum_type": "sha256", "iso_name": "debian-8.1.0-amd64-CD-1.iso", "metadata": "floppy/dummy_metadata.json", - "mirror": "http://cdimage.debian.org/cdimage/release", + "mirror": "http://cdimage.debian.org/cdimage/archive", "mirror_directory": "8.1.0/amd64/iso-cd", "name": "debian-8.1", "no_proxy": "{{env `no_proxy`}}", @@ -199,4 +199,3 @@ "version": "2.1.TIMESTAMP" } } - diff --git a/debian-8.1-i386.json b/debian-8.1-i386.json index efca786bd..a42c7db65 100644 --- a/debian-8.1-i386.json +++ b/debian-8.1-i386.json @@ -186,11 +186,11 @@ "headless": "", "http_proxy": "{{env `http_proxy`}}", "https_proxy": "{{env `https_proxy`}}", - "iso_checksum": "e223823e0c159f057ec83bd51d4770a132e3e51b", - "iso_checksum_type": "sha1", + "iso_checksum": "74343980870d5c2c73e3c1a9d92ea6546b76070ccceeae7842c809557d07d53b", + "iso_checksum_type": "sha256", "iso_name": "debian-8.1.0-i386-CD-1.iso", "metadata": "floppy/dummy_metadata.json", - "mirror": "http://cdimage.debian.org/cdimage/release", + "mirror": "http://cdimage.debian.org/cdimage/archive", "mirror_directory": "8.1.0/i386/iso-cd", "name": "debian-8.1-i386", "no_proxy": "{{env `no_proxy`}}", @@ -199,4 +199,3 @@ "version": "2.1.TIMESTAMP" } } - diff --git a/debian-8.2-amd64.json b/debian-8.2-amd64.json new file mode 100644 index 000000000..ad37f9447 --- /dev/null +++ b/debian-8.2-amd64.json @@ -0,0 +1,201 @@ +{ + "builders": [ + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", + "guest_os_type": "Debian_64", + "hard_drive_interface": "sata", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-virtualbox", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "virtualbox-iso", + "vboxmanage": [ + [ + "modifyvm", + "{{.Name}}", + "--memory", + "384" + ], + [ + "modifyvm", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "virtualbox_version_file": ".vbox_version", + "vm_name": "{{ user `template` }}" + }, + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_os_type": "debian8-64", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-vmware", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "tools_upload_flavor": "linux", + "type": "vmware-iso", + "vm_name": "{{ user `template` }}", + "vmx_data": { + "cpuid.coresPerSocket": "1", + "memsize": "384", + "numvcpus": "1" + } + }, + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_os_type": "debian", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-parallels", + "parallels_tools_flavor": "lin", + "prlctl": [ + [ + "set", + "{{.Name}}", + "--memsize", + "384" + ], + [ + "set", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "prlctl_version_file": ".prlctl_version", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "parallels-iso", + "vm_name": "{{ user `template` }}" + } + ], + "post-processors": [ + { + "output": "builds/{{user `box_basename`}}.{{.Provider}}.box", + "type": "vagrant" + } + ], + "provisioners": [ + { + "destination": "/tmp/bento-metadata.json", + "source": "{{user `metadata`}}", + "type": "file" + }, + { + "environment_vars": [ + "HOME_DIR=/home/vagrant", + "http_proxy={{user `http_proxy`}}", + "https_proxy={{user `https_proxy`}}", + "no_proxy={{user `no_proxy`}}" + ], + "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'", + "scripts": [ + "scripts/common/metadata.sh", + "scripts/debian/update.sh", + "scripts/common/sshd.sh", + "scripts/debian/networking.sh", + "scripts/debian/sudoers.sh", + "scripts/common/vagrant.sh", + "scripts/common/vmtools.sh", + "scripts/debian/cleanup.sh", + "scripts/common/minimize.sh" + ], + "type": "shell" + } + ], + "variables": { + "box_basename": "__unset_box_basename__", + "build_timestamp": "{{isotime \"20060102150405\"}}", + "git_revision": "__unknown_git_revision__", + "headless": "", + "http_proxy": "{{env `http_proxy`}}", + "https_proxy": "{{env `https_proxy`}}", + "iso_checksum": "d3ac88ec064f9e941ee5d9cbfaa87ac48929b81471f96073305ccd7bd71ff521", + "iso_checksum_type": "sha256", + "iso_name": "debian-8.2.0-amd64-CD-1.iso", + "metadata": "floppy/dummy_metadata.json", + "mirror": "http://cdimage.debian.org/cdimage/release", + "mirror_directory": "8.2.0/amd64/iso-cd", + "name": "debian-8.2", + "no_proxy": "{{env `no_proxy`}}", + "preseed_path": "debian-8/preseed.cfg", + "template": "debian-8.2-amd64", + "version": "2.1.TIMESTAMP" + } +} diff --git a/debian-8.2-i386.json b/debian-8.2-i386.json new file mode 100644 index 000000000..1934843bc --- /dev/null +++ b/debian-8.2-i386.json @@ -0,0 +1,201 @@ +{ + "builders": [ + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", + "guest_os_type": "Debian", + "hard_drive_interface": "sata", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-virtualbox", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "virtualbox-iso", + "vboxmanage": [ + [ + "modifyvm", + "{{.Name}}", + "--memory", + "384" + ], + [ + "modifyvm", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "virtualbox_version_file": ".vbox_version", + "vm_name": "{{ user `template` }}" + }, + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_os_type": "debian8", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-vmware", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "tools_upload_flavor": "linux", + "type": "vmware-iso", + "vm_name": "{{ user `template` }}", + "vmx_data": { + "cpuid.coresPerSocket": "1", + "memsize": "384", + "numvcpus": "1" + } + }, + { + "boot_command": [ + "", + "install ", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}} ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "guest_os_type": "debian", + "headless": "{{ user `headless` }}", + "http_directory": "http", + "iso_checksum": "{{user `iso_checksum`}}", + "iso_checksum_type": "{{user `iso_checksum_type`}}", + "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}", + "output_directory": "packer-{{user `template`}}-parallels", + "parallels_tools_flavor": "lin", + "prlctl": [ + [ + "set", + "{{.Name}}", + "--memsize", + "384" + ], + [ + "set", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "prlctl_version_file": ".prlctl_version", + "shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "parallels-iso", + "vm_name": "{{ user `template` }}" + } + ], + "post-processors": [ + { + "output": "builds/{{user `box_basename`}}.{{.Provider}}.box", + "type": "vagrant" + } + ], + "provisioners": [ + { + "destination": "/tmp/bento-metadata.json", + "source": "{{user `metadata`}}", + "type": "file" + }, + { + "environment_vars": [ + "HOME_DIR=/home/vagrant", + "http_proxy={{user `http_proxy`}}", + "https_proxy={{user `https_proxy`}}", + "no_proxy={{user `no_proxy`}}" + ], + "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'", + "scripts": [ + "scripts/common/metadata.sh", + "scripts/debian/update.sh", + "scripts/common/sshd.sh", + "scripts/debian/networking.sh", + "scripts/debian/sudoers.sh", + "scripts/common/vagrant.sh", + "scripts/common/vmtools.sh", + "scripts/debian/cleanup.sh", + "scripts/common/minimize.sh" + ], + "type": "shell" + } + ], + "variables": { + "box_basename": "__unset_box_basename__", + "build_timestamp": "{{isotime \"20060102150405\"}}", + "git_revision": "__unknown_git_revision__", + "headless": "", + "http_proxy": "{{env `http_proxy`}}", + "https_proxy": "{{env `https_proxy`}}", + "iso_checksum": "87060c2777f55806e313db22ba8a78aee9f7119b6321448a1dfdaf0bbfcb67ce", + "iso_checksum_type": "sha256", + "iso_name": "debian-8.2.0-i386-CD-1.iso", + "metadata": "floppy/dummy_metadata.json", + "mirror": "http://cdimage.debian.org/cdimage/release", + "mirror_directory": "8.2.0/i386/iso-cd", + "name": "debian-8.2-i386", + "no_proxy": "{{env `no_proxy`}}", + "preseed_path": "debian-8/preseed.cfg", + "template": "debian-8.2-i386", + "version": "2.1.TIMESTAMP" + } +}