Skip to content

Commit

Permalink
* add a sample of digital ocean packer configure
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed Nov 20, 2013
1 parent afe2cce commit 255c113
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions templates/ubuntu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"builders": [
{
"type": "vmware",
"boot_command": [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
Expand All @@ -20,10 +21,10 @@
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "20m",
"tools_upload_flavor": "linux",
"type": "vmware"
"tools_upload_flavor": "linux"
},
{
"type": "virtualbox",
"boot_command": [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
Expand All @@ -44,9 +45,15 @@
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "20m",
"type": "virtualbox",
"virtualbox_version_file": ".vbox_version"
}
},
{
"type": "digitalocean",
"image_id": "961965",
"size_id": 63,
"client_id": "",
"api_key": ""
}
],
"post-processors": [
{ "type": "vagrant",
Expand Down

0 comments on commit 255c113

Please sign in to comment.