Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to packer 0.5.1 #152

Merged
merged 1 commit into from
Jan 3, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rvm:
- 2.0.0

before_install: wget --no-check-certificate https://dl.bintray.com/mitchellh/packer/0.4.1_linux_amd64.zip && unzip -d packer 0.4.1_linux_amd64.zip
before_install: wget --no-check-certificate https://dl.bintray.com/mitchellh/packer/0.5.1_linux_amd64.zip && unzip -d packer 0.5.1_linux_amd64.zip
before_script: export PATH=$PATH:$PWD/packer

script: bundle exec thor packer:validate
41 changes: 27 additions & 14 deletions packer/centos-5.10-i386.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
},
"builders": [
{
"type": "virtualbox",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
],
Expand All @@ -17,21 +12,31 @@
"iso_checksum": "bb4e61210e1c0389fdf55c59bd2dd7bc957dd400",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/5.10/isos/i386/CentOS-5.10-i386-bin-DVD-1of2.iso",
"output_directory": "packer-centos-5.10-i386-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"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" ]
[
"modifyvm",
"{{.Name}}",
"--memory",
"384"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-centos-5.10-i386",
"output_directory": "packer-centos-5.10-i386-virtualbox"
"vm_name": "packer-centos-5.10-i386"
},
{
"type": "vmware",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
],
Expand All @@ -42,14 +47,15 @@
"iso_checksum": "bb4e61210e1c0389fdf55c59bd2dd7bc957dd400",
"iso_checksum_type": "sha1",
"iso_url": "http://mirrors.kernel.org/centos/5.10/isos/i386/CentOS-5.10-i386-bin-DVD-1of2.iso",
"tools_upload_flavor": "linux",
"output_directory": "packer-centos-5.10-i386-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "packer-centos-5.10-i386",
"output_directory": "packer-centos-5.10-i386-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "384",
Expand All @@ -65,7 +71,9 @@
],
"provisioners": [
{
"environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/vagrant.sh",
Expand All @@ -77,5 +85,10 @@
],
"type": "shell"
}
]
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}

41 changes: 27 additions & 14 deletions packer/centos-5.10-x86_64.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
},
"builders": [
{
"type": "virtualbox",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
],
Expand All @@ -17,21 +12,31 @@
"iso_checksum": "d8403b3fe4972eda3e147ee76d682a4a3beae1e1",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/5.10/isos/x86_64/CentOS-5.10-x86_64-bin-DVD-1of2.iso",
"output_directory": "packer-centos-5.10-x86_64-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"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" ]
[
"modifyvm",
"{{.Name}}",
"--memory",
"384"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-centos-5.10-x86_64",
"output_directory": "packer-centos-5.10-x86_64-virtualbox"
"vm_name": "packer-centos-5.10-x86_64"
},
{
"type": "vmware",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
],
Expand All @@ -42,14 +47,15 @@
"iso_checksum": "d8403b3fe4972eda3e147ee76d682a4a3beae1e1",
"iso_checksum_type": "sha1",
"iso_url": "http://mirrors.kernel.org/centos/5.10/isos/x86_64/CentOS-5.10-x86_64-bin-DVD-1of2.iso",
"tools_upload_flavor": "linux",
"output_directory": "packer-centos-5.10-x86_64-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "packer-centos-5.10-x86_64",
"output_directory": "packer-centos-5.10-x86_64-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "384",
Expand All @@ -65,7 +71,9 @@
],
"provisioners": [
{
"environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/vagrant.sh",
Expand All @@ -77,5 +85,10 @@
],
"type": "shell"
}
]
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}

40 changes: 26 additions & 14 deletions packer/centos-6.5-i386.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
},
"builders": [
{
"type": "virtualbox",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
],
Expand All @@ -17,21 +12,31 @@
"iso_checksum": "67ea68068ae53d1f23431072ec0288b3e1abfe4d",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/6.5/isos/i386/CentOS-6.5-i386-bin-DVD1.iso",
"output_directory": "packer-centos-6.5-i386-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "480" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
[
"modifyvm",
"{{.Name}}",
"--memory",
"480"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-centos-6.5-i386",
"output_directory": "packer-centos-6.5-i386-virtualbox"
"vm_name": "packer-centos-6.5-i386"
},
{
"type": "vmware",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
],
Expand All @@ -42,14 +47,15 @@
"iso_checksum": "67ea68068ae53d1f23431072ec0288b3e1abfe4d",
"iso_checksum_type": "sha1",
"iso_url": "http://mirrors.kernel.org/centos/6.5/isos/i386/CentOS-6.5-i386-bin-DVD1.iso",
"tools_upload_flavor": "linux",
"output_directory": "packer-centos-6.5-i386-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "packer-centos-6.5-i386",
"output_directory": "packer-centos-6.5-i386-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "480",
Expand All @@ -65,7 +71,9 @@
],
"provisioners": [
{
"environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/sshd.sh",
Expand All @@ -77,6 +85,10 @@
],
"type": "shell"
}
]
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}

41 changes: 27 additions & 14 deletions packer/centos-6.5-x86_64.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
},
"builders": [
{
"type": "virtualbox",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
],
Expand All @@ -17,21 +12,31 @@
"iso_checksum": "32c7695b97f7dcd1f59a77a71f64f2957dddf738",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso",
"output_directory": "packer-centos-6.5-x86_64-virtualbox",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "480" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
[
"modifyvm",
"{{.Name}}",
"--memory",
"480"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-centos-6.5-x86_64",
"output_directory": "packer-centos-6.5-x86_64-virtualbox"
"vm_name": "packer-centos-6.5-x86_64"
},
{
"type": "vmware",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
],
Expand All @@ -42,14 +47,15 @@
"iso_checksum": "32c7695b97f7dcd1f59a77a71f64f2957dddf738",
"iso_checksum_type": "sha1",
"iso_url": "http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso",
"tools_upload_flavor": "linux",
"output_directory": "packer-centos-6.5-x86_64-vmware",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "linux",
"type": "vmware-iso",
"vm_name": "packer-centos-6.5-x86_64",
"output_directory": "packer-centos-6.5-x86_64-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "480",
Expand All @@ -65,7 +71,9 @@
],
"provisioners": [
{
"environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/sshd.sh",
Expand All @@ -77,5 +85,10 @@
],
"type": "shell"
}
]
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}

Loading