Skip to content

Commit

Permalink
Merge pull request #385 from rmoriz/debian-8.1
Browse files Browse the repository at this point in the history
preliminary debian 8.1 templates
  • Loading branch information
Seth Thomas committed Jul 3, 2015
2 parents 1a7b4d7 + b76ae50 commit 00798d9
Show file tree
Hide file tree
Showing 2 changed files with 371 additions and 0 deletions.
185 changes: 185 additions & 0 deletions debian-8.1-amd64.json
@@ -0,0 +1,185 @@
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Debian_64",
"hard_drive_interface": "sata",
"http_directory": "http",
"iso_checksum": "22bae271a732333ebff150598292d9907d2c6001",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/amd64/iso-cd/debian-8.1.0-amd64-CD-1.iso",
"output_directory": "packer-debian-8.1-amd64-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": "packer-debian-8.1-amd64"
},
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "debian8-64",
"http_directory": "http",
"iso_checksum": "22bae271a732333ebff150598292d9907d2c6001",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/amd64/iso-cd/debian-8.1.0-amd64-CD-1.iso",
"output_directory": "packer-debian-8.1-amd64-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": "packer-debian-8.1-amd64",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "384",
"numvcpus": "1"
}
},
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "debian",
"http_directory": "http",
"iso_checksum": "22bae271a732333ebff150598292d9907d2c6001",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/amd64/iso-cd/debian-8.1.0-amd64-CD-1.iso",
"output_directory": "packer-debian-8.1-amd64-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": "packer-debian-8.1-amd64"
}
],
"post-processors": [
{
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp/bento-metadata.json",
"source": "{{user `metadata`}}",
"type": "file"
},
{
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.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": {
"arch": "64",
"box_basename": "debian-8.1",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"git_revision": "__unknown_git_revision__",
"metadata": "floppy/dummy_metadata.json",
"mirror": "http://cdimage.debian.org/cdimage/release",
"name": "debian-8.1",
"template": "debian-8.1-amd64",
"version": "2.0.TIMESTAMP"
}
}
186 changes: 186 additions & 0 deletions debian-8.1-i386.json
@@ -0,0 +1,186 @@
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Debian",
"hard_drive_interface": "sata",
"http_directory": "http",
"iso_checksum": "e223823e0c159f057ec83bd51d4770a132e3e51b",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/i386/iso-cd/debian-8.1.0-i386-CD-1.iso",
"output_directory": "packer-debian-8.1-i386-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": "packer-debian-8.1-i386"
},
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "debian8",
"http_directory": "http",
"iso_checksum": "e223823e0c159f057ec83bd51d4770a132e3e51b",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/i386/iso-cd/debian-8.1.0-i386-CD-1.iso",
"output_directory": "packer-debian-8.1-i386-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": "packer-debian-8.1-i386",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "384",
"numvcpus": "1"
}
},
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"guest_os_type": "debian",
"http_directory": "http",
"iso_checksum": "e223823e0c159f057ec83bd51d4770a132e3e51b",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/8.1.0/i386/iso-cd/debian-8.1.0-i386-CD-1.iso",
"output_directory": "packer-debian-8.1-i386-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": "packer-debian-8.1-i386"
}
],
"post-processors": [
{
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp/bento-metadata.json",
"source": "{{user `metadata`}}",
"type": "file"
},
{
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.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": {
"arch": "32",
"box_basename": "debian-8.1-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"git_revision": "__unknown_git_revision__",
"metadata": "floppy/dummy_metadata.json",
"mirror": "http://cdimage.debian.org/cdimage/release",
"name": "debian-8.1-i386",
"template": "debian-8.1-i386",
"version": "2.0.TIMESTAMP"
}
}

0 comments on commit 00798d9

Please sign in to comment.