Matt Page
0fe61fa1e0
fix: Respect metadata supplied for GCE builders.
...
Previously, any per instance metadata supplied via the GCE builder
was ignored.
Test plan:
- make test
- Manual testing via:
-- Created a packer config that contained a GCE builder with custom
metadata set.
-- Ran `packer build`.
-- Verified the instance had the correct metadata in the GCE console.
2014-10-06 14:18:34 -07:00
Rickard von Essen
d75d44ad9e
Merge pull request #1548 from legal90/create_disk
...
builder/parallels: Create VM without hdd and then add it later
2014-10-04 23:06:15 +02:00
Mikhail Zholobov
eb37742ab0
builder/parallels: Disable default cdrom0 device and then enable it on cleanup
...
This is needed to make 'cdrom0' device unavailable during the ISO installation process.
It is required for some guest OS types, such as FreeBSD and OmniOS.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov
13251ced49
builder/parallels: Added setting the boot order
...
CD/DVD drive with installation ISO should be exactly the 2nd device in the VM boot order.
This ensures that VM will boot from this ISO at the first boot time only.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov
280c3c52de
builder/parallels: Attach ISO images to the separate cdrom device
...
For each ISO image the individual cdrom device will be added to the VM. During the cleanup these devices will be deleted.
It makes attach steps more clear - there is no doubt what is the name of the device.
Related to: [mitchellh/packer#1502 ]
2014-10-04 22:39:54 +02:00
Mikhail Zholobov
0cfe58193f
builder/parallels: Added driver method 'DeviceAddCdRom'
2014-10-04 22:39:54 +02:00
JessThrysoee
5394ce61fd
builder/parallels: Rely on Cleanup functions to detach devices
...
Remove the redundant StepRemoveDevices and rely on the cleanup to be handled by:
* StepAttachParallelsTools.Cleanup
* StepAttachFloppy.Cleanup
* stepAttachISO.Cleanup
2014-10-04 22:39:54 +02:00
Rickard von Essen
57ad64da30
Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist
...
builder/parallels: Ignore 'The fdd0 device does not exist'
2014-10-04 18:04:08 +02:00
Mikhail Zholobov
48c64b05cb
builder/parallels: Init VM without hdd and attach it later
...
Avoid the disk resize because it is unsupported for some guests (OS X)
http://kb.parallels.com/en/113653
2014-10-01 16:13:46 +04:00
JessThrysoee
16b82d6d15
builder/parallels: Bundle python version of prltype
...
Uses the Python API from Parallels Virtualization SDK to write
boot commands.
This eliminates a 3rd party requirement and makes it easier for people
not using homebrew to get started with packer.
2014-09-19 22:19:15 +02:00
JessThrysoee
cf6532ffe2
builder/parallels: Ignore 'The fdd0 device does not exist'
...
A current floppy disk probably doesn't exist, so the build shouldn't
fail when we try to delete it.
2014-09-18 20:36:05 +02:00
Jason A. Beranek
8689301d68
builder/vmware-esxi: Ignore localhost for VNC lookup [GH-1480]
...
Adds logic to ESXi driver VNC Address function to ignore listen
addresses that bind to localhost (127.0.0.1), this allows certain
default ports to be available on ESXi for VNC connections
2014-09-16 22:00:52 -05:00
John Deatherage
e571a133b0
fixed vmware-vmx step order
2014-09-14 04:28:55 -07:00
Ross Smith II
a7aa20c8c7
Add support for VMware Fusion 7 Pro [GH-1478]
2014-09-10 10:14:50 -07:00
Mitchell Hashimoto
75395af12d
Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
...
Conflicts:
builder/parallels/common/step_upload_parallels_tools.go
builder/vmware/common/step_upload_tools.go
provisioner/chef-client/provisioner.go
provisioner/chef-solo/provisioner.go
2014-09-08 13:20:46 -07:00
Mitchell Hashimoto
812ba35479
fmt
2014-09-08 10:28:21 -07:00
Mitchell Hashimoto
dc0de7da49
builder/amazon-ebs: don't clean up AMI if doesn't exist [GH-1469]
2014-09-08 09:53:20 -07:00
Rickard von Essen
365b44c5af
parallels-iso: allow absolute output directory.
...
Fixes [GH-1466]
2014-09-08 11:00:59 +02:00
Mitchell Hashimoto
db90c16118
builder/amazon: support auto spot price discovery [GH-1465]
2014-09-06 10:44:12 -07:00
Mitchell Hashimoto
a587bd47a1
builder/amazon/ebs: clean up AMI in error [GH-1186]
2014-09-06 10:12:33 -07:00
Mitchell Hashimoto
669f26a108
Merge pull request #1186 from henrysher/ami-cleanup
...
Add the cleanup when the process of EBS AMI interrupted
2014-09-06 10:10:10 -07:00
Mitchell Hashimoto
7d1db44ca4
builder/amazon: clean up UI output for spot instances a bit
2014-09-05 16:58:17 -07:00
Mitchell Hashimoto
2e5f3da5c1
builder/amazon: fix {{uuid}} default not being replaced
2014-09-05 16:38:05 -07:00
Mitchell Hashimoto
3a69b8c1b8
Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
...
Conflicts:
builder/amazon/common/run_config.go
builder/amazon/ebs/builder.go
builder/amazon/instance/builder.go
2014-09-05 16:30:22 -07:00
Mitchell Hashimoto
c9cc82d89e
builder/amazon-chroot: add description with time created snapshot
...
[GH-1388]
2014-09-05 16:10:33 -07:00
Mitchell Hashimoto
e4dc5d31d8
builder/docker: support volumes
2014-09-05 15:48:42 -07:00
Mitchell Hashimoto
2e4882f0c3
builder/docker: can login to pull
2014-09-05 15:24:12 -07:00
Mitchell Hashimoto
622b9f459a
builder/docker: lock around Login
2014-09-05 15:06:07 -07:00
Mitchell Hashimoto
d32b4b4f84
builder/docker: driver supports login/logout
2014-09-05 14:26:19 -07:00
Mitchell Hashimoto
5db91c84bf
builder/amazon: string fields on device mappings can use variables
2014-09-05 12:38:19 -07:00
Mitchell Hashimoto
1a45b96674
builder/vmware: add VNC to vmx
2014-09-05 12:10:40 -07:00
Mitchell Hashimoto
b72605c2f6
builder/vmware: style
2014-09-05 12:01:07 -07:00
Mitchell Hashimoto
759c46487c
builder/vmware-vmx: support http files
2014-09-05 11:59:46 -07:00
Mitchell Hashimoto
bfdc6ea6b7
builder/virtualbox: support http server for ovf [GH-1169]
2014-09-05 11:52:55 -07:00
Mitchell Hashimoto
c74f0c7cfe
Merge branch '1082-add-boot-commands-to-vmx-and-ovf-builders' of github.com:rasa/packer into rasa-1082-add-boot-commands-to-vmx-and-ovf-builders
...
Conflicts:
builder/virtualbox/ovf/config.go
builder/vmware/vmx/config.go
2014-09-05 11:42:01 -07:00
Mitchell Hashimoto
71d0c39ef9
builder/vmware: better error if clone not supported [GH-787]
2014-09-05 11:28:43 -07:00
Mitchell Hashimoto
ac58773eed
builder/vmware: better error output from vmrun
2014-09-05 11:27:33 -07:00
Mitchell Hashimoto
f32d9879dc
builder/docker: error if DOCKER_HOST is set
2014-09-05 11:13:54 -07:00
Mitchell Hashimoto
caca50324e
Merge pull request #1426 from jasonberanek/vnc-fixes
...
vmware-iso/esxi: fix multiple issues with VNC address discovery
2014-09-05 10:45:17 -07:00
Mitchell Hashimoto
cf731bf65c
builder/vmware: no error if stopping already stopped [GH-1300]
2014-09-05 10:29:35 -07:00
Mitchell Hashimoto
b9f82ef17e
fmt
2014-09-05 10:23:49 -07:00
Mitchell Hashimoto
9b2039121f
builder/virtualbox-ovf: import_flags [GH-1383]
2014-09-05 10:23:37 -07:00
Mitchell Hashimoto
863e06a614
builder/virtualbox: comment
2014-09-05 09:59:39 -07:00
Mitchell Hashimoto
f54f09d7a3
builder/virtualbox: detect vboxmanage errors with zero code [GH-1119]
2014-09-05 09:57:30 -07:00
Mitchell Hashimoto
b5c0c63ebc
builder/googlecompute: use new auth scheme
2014-09-05 09:47:20 -07:00
Mitchell Hashimoto
ed377c9ff0
builder/amazon-instance: --no-filter by default [GH-1137]
2014-09-05 09:32:35 -07:00
Mitchell Hashimoto
ba07866774
Merge pull request #1461 from rickard-von-essen/issue_1404
...
parallels-pvm: Optionally assign new MAC addresses to imported VMs
2014-09-05 09:27:09 -07:00
Rickard von Essen
5ad7737d55
parallels-pvm: Optionally assign new MAC addresses to imported VMs [GH-1404]
...
New config option:
reassign_mac (boolean) - If this is "false" the MAC address of the first
NIC will reused when imported else a new MAC address will be generated by
Parallels. Defaults to "false".
2014-09-05 11:33:28 +02:00
Mitchell Hashimoto
0776d9de34
builder/amazon: ssh_private_ip [GH-1229]
2014-09-04 21:48:14 -07:00
Mitchell Hashimoto
bac54a6645
builder/amazon/common: token [GH-1236]
2014-09-04 21:19:20 -07:00