1196 Commits

Author SHA1 Message Date
Yuya Kusakabe
6ff38c86ea Fixes #1244, Add a check for upload iso hash to ESXi Driver 2014-06-12 14:33:34 +09:00
StefanScherer
de5c38e6c5 skip adding floppy again in vmx_data_post step 2014-06-09 01:02:21 +02:00
Mohammed Naser
110c168a68 Update run_config.go 2014-06-07 16:04:29 -04:00
Rickard von Essen
905f242582 Parallels-iso errors while removing floppy drive GH-1226
Status "stopping" should be handled in IsRunning
2014-06-06 15:59:27 +02:00
Paul Palmer
5a8f56b6ad Parallels errors while creating floppy disk GH-1225
Patch applied with modifications - tests updated to pass.
2014-06-06 15:54:19 +02:00
James Massara
be27ecc64b Add option to enable enhanced networking (SriovNetSupport) for images. 2014-06-04 14:58:11 -07:00
Brandon Turner
b2258dc4e9
Fix chroot builder to work with chef-solo
According to be5adb92b5c4d5d95e5089be94c706b930fea7ba, the UploadDir
method supports two ways of copying depending on whether a trailing
slash is used:
    src = "dir"  -> dest/dir
    src = "dir/" -> dest

On BSD-based systems (such as OSX, FreeBSD, etc.) the `cp -R` command
handles these two cases automatically.  However, Linux treats "src/" and
"src" the same.

To support the trailing slash syntax portably, we can use:
    src = "dir"   -> dest/dir
    src = "dir/." -> dest

This works on BSD and Linux.  It is better than using wildcards as it
grabs hidden files as well.

This fixes #1196 that prevents the chef-solo provisioner from working
with the chroot builder.
2014-05-27 19:02:29 -05:00
Henry Huang
da29d684a8 Enable the spot_price in "amazon-instance-store" AMI 2014-05-26 23:01:49 +08:00
Henry Huang
3980c7dcfd Save the spot request before waiting for its active state 2014-05-26 23:01:49 +08:00
Henry Huang
1e1fa3de26 Add the cleanup for existing spot request 2014-05-26 23:01:49 +08:00
Henry Huang
5d410bddc9 When unexpected state found in waiting, notify the caller func with a correct error message 2014-05-26 23:01:49 +08:00
Henry Huang
3a74c469e5 Add "spot_price" param into template processing 2014-05-26 23:01:49 +08:00
Henry Huang
a411405628 Clean up code via "go fmt" 2014-05-26 23:01:49 +08:00
Henry Huang
c33e7cc867 Add the support of launching spot instances in "amazon-ebs" AMI 2014-05-26 23:01:49 +08:00
Matt Behrens
9eb32e5dcd implement iso_interface setting
Adds a new configuration option, `iso_interface`, that can be set to
`sata` to mount the ISO on the SATA controller.  Required for OS X.
2014-05-23 21:14:24 -04:00
Greg Burek
3a45712780 Adds support for encrypted EBS volumes 2014-05-22 11:36:22 -07:00
Henry Huang
43385a58bc Refine the comments 2014-05-20 11:16:50 +08:00
Rickard von Essen
29344a5631 Parallels builder mistypes boot command on OmniOS
Fixes [GH-1185] and adds tests for the boot command.
Also requires the latest prl-utils (e592a15) to fix the stuck on enter
while typing.
2014-05-19 20:14:50 +02:00
Rickard von Essen
4d994deb3a [feature] Support boot command for pvm builder
Similar to [GH-1082] but for parallels-pvm builder.
2014-05-19 20:04:13 +02:00
Henry Huang
e8c09ae223 Add the cleanup when the process of EBS AMI interrupted 2014-05-20 00:40:39 +08:00
Pierre Riteau
5294e0ed61 Remove unused file 2014-05-15 17:22:40 +01:00
Ross Smith II
e93697ab4e builder/virtualbox-ovf,vmware-vmx: add boot_command support
Fixes #1082
2014-05-12 21:19:24 -07:00
Ross Smith II
750ffc8a54 builder/vmware: add VMWare Player 6 support
Also added VMWare Player support in Windows
Fixes #972
2014-05-12 18:35:37 -07:00
Ross Smith II
8313856949 builder/vmware-vmx: add floppy_files support 2014-05-12 18:24:03 -07:00
Ross Smith II
38d1d7fd3c Update vmx_config.go
Tiny typo.
I really should add a unit test here.
2014-05-12 14:43:12 -07:00
Ross Smith II
b397d75a52 Update driver_workstation9.go
1 line typo
2014-05-11 08:46:19 -07:00
Rickard von Essen
4cdce51df5 builder/parallels: Don't delete sound, since it doesn't allways exist. 2014-05-11 11:20:56 +02:00
Rickard von Essen
bd25866e90 builder/parallels: Select which interface to connect to.
The IP address that the guest OS connect to download files from the
http_dir is determined by searching for a host interface with an IP
assigned. Now it is possible to use host_interfaces to select which
interfaces are searched.
2014-05-11 11:12:50 +02:00
Rickard von Essen
bd5d5e049d builder/parallels: Added pppX interface to be able to run packer when using mobile wlan 2014-05-11 00:14:35 +02:00
Mitchell Hashimoto
6a930d819c builder/vmware/common: remove unnecessary tags 2014-05-10 10:21:44 -07:00
Mitchell Hashimoto
d925331902 fmt 2014-05-10 10:19:35 -07:00
Mitchell Hashimoto
ad72c5a4bb builder/vmware/common: more tests 2014-05-10 10:19:14 -07:00
Mitchell Hashimoto
7e991af48e builder/vmware/common: tests for StepPrepareTools
/cc @rasa - an example
2014-05-10 10:16:53 -07:00
Mitchell Hashimoto
1b1d87128c Merge pull request #1154 from rasa/765-add-tools-upload-flavor-support-in-vmware-vmx
builder/vmware-vmx: Added tools_upload_flavor support
2014-05-10 10:07:34 -07:00
Ross Smith II
779c7184a2 go fmt 2014-05-09 21:12:14 -07:00
Ross Smith II
d92179847d provisioner/file: set file/directory permissions
fixes #1064
2014-05-09 21:03:35 -07:00
Mitchell Hashimoto
e9727df15e Merge pull request #1146 from higebu/fix-esxi-driver-iso-upload-path
Fixes #1062, ESXi Driver supports PACKER_CACHE_DIR
2014-05-09 19:56:28 -07:00
Ross Smith II
ba13239672 builder/vmware-vmx: Added tools_upload_flavor support 2014-05-09 17:24:19 -07:00
Ross Smith II
bdfac49410 builder/vmware: added vmx_data_post option 2014-05-09 09:25:15 -07:00
Yuya Kusakabe
6dc858e6cf Fixes #1062, ESXi Driver supports PACKER_CACHE_DIR 2014-05-09 13:16:18 +09:00
Jaime Soriano Pastor
32bb745734 Force LANG=C before appending rest of environment, as only first occurence is used 2014-05-08 17:11:19 +02:00
Mitchell Hashimoto
0b63f4f9dc Merge pull request #1132 from rasa/1123-use-local-vboxguestadditions-iso
virtualbox: use local VBoxGuestAdditions.iso by default
2014-05-06 18:54:13 -07:00
Ross Smith II
bea167a48e builder/vmware-vmx: add floppy_files support
fixes #1057
2014-05-06 17:20:26 -07:00
Ross Smith II
58fd5aec61 virtualbox: use local VBoxGuestAdditions.iso by default
fixes #1123
2014-05-06 16:15:55 -07:00
Mitchell Hashimoto
d8d22299ce Merge pull request #1127 from jakobadam/master
builder/parallels: Fix http_files typo in comments
2014-05-06 08:31:22 -07:00
Jakob A. Dam
40150c376d Fix http_files typo in comments 2014-05-06 17:13:15 +02:00
Pierre Riteau
2ee90b29c3 Allow OpenStack builder to skip certificate verification 2014-05-06 12:26:05 +01:00
Rickard von Essen
83cf8b23a1 Merge pull request #1120 from rickard-von-essen/vbox-ovf_guest_add
virtualbox-ovf support for guest_additions_mode
2014-05-04 22:58:04 +02:00
Ross Smith II
a8a583a80c Merge pull request #1116 from higebu/fix-remote-esxi-builder-doesnt-upload-floppy
Fixes #1106, Remote ESXi builder doesn't upload floppy
2014-05-04 10:57:22 -07:00
Rickard von Essen
c2013bf680 virtualbox-ovf support for guest_additions_mode
Fixes #1035 "virtualbox-ovf" builder doesn't support "guest_additions_mode" option
2014-05-04 18:48:41 +02:00