Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from rmoriz/debian-8.1
preliminary debian 8.1 templates
- Loading branch information
Showing
2 changed files
with
371 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
|