Commit Graph
18526 Commits
Author SHA1 Message Date
Ross Smith II 1dcaf17168 Merge pull request #1209 from blt04/fix-chef-solo-chroot
Fix chroot builder to work with chef-solo provisioner. Fixes  #1196
2014-05-27 18:26:51 -07:00
Brandon Turner b2258dc4e9 Fix chroot builder to work with chef-solo
According to be5adb92b5, 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 bf7b8199da Add the document for the new spot_price parameter 2014-05-26 23:03:49 +08:00
Ross Smith II 6630d2cac7 Merge pull request #1205 from humboldtux/patch-1
Fix staging_directory default path
2014-05-26 08:03:22 -07: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
Benoit Benedetti 9462129bef Fix staging_directory default path 2014-05-26 14:27:17 +02:00
Matt Behrens 32f6553d04 add documentation for iso_interface 2014-05-24 07:20:05 -04: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
Ross Smith II 8e3559a035 Merge pull request #1199 from krismolendyke/fix-website-typo
Fix website shell provisioner typo.
2014-05-23 15:19:15 -07:00
Kris 64c210f06d Fix website shell provisioner typo. 2014-05-23 18:10:50 -04:00
Ross Smith II 676084efe0 Update CHANGELOG.md 2014-05-22 11:55:39 -07:00
Ross Smith II 27137c34de Merge pull request #1194 from gregburek/encrypted-ebs
Adds support for encrypted EBS volumes
2014-05-22 11:53:49 -07:00
Greg Burek 3a45712780 Adds support for encrypted EBS volumes 2014-05-22 11:36:22 -07:00
cfortier2 bf38fa9f4f reorder chef_environment alphabetically 2014-05-21 13:34:12 -04:00
cfortier2 fe743f96c7 update website chef-client provisioner page 2014-05-21 09:40:02 -04:00
cfortier2 e908cc1733 add chef_environment test 2014-05-21 09:30:18 -04:00
cfortier2 25386f8e8e add support for chef_environment 2014-05-21 09:24:34 -04: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
Ross Smith II 1b659d270f Update CHANGELOG.md 2014-05-15 16:00:09 -07:00
Ross Smith II 9f24766e51 Merge pull request #1178 from mkuzmin/url-escape
vSphere upload hangs due to DOMAIN\account format of username
2014-05-15 15:59:03 -07:00
Mitchell Hashimoto f0c5442685 Merge pull request #1179 from priteau/remove-unused-file
Remove unused file
2014-05-15 09:37:46 -07:00
Pierre Riteau 5294e0ed61 Remove unused file 2014-05-15 17:22:40 +01:00
Michael Kuzmin 2dd538ced8 post-processor/vsphere: url-escape username to accept DOMAIN\account values 2014-05-15 16:04:27 +04:00
Michael Kuzmin b05129e52e post-processor/vsphere: logging for upload parameters 2014-05-15 15:53:17 +04:00
Rickard von Essen 1d8967485c Merge pull request #1174 from rickard-von-essen/pvm_prl-tools-doc
builder/parallels: Added missing doc...
2014-05-13 23:52:39 +02:00
Rickard von Essen 8bb7132795 builder/parallels: Added missing doc about Parallels tools for the parallels-pvm builder. 2014-05-13 23:51:05 +02:00
Ross Smith II e082a7e59b added docs for boot_command and boot_wait 2014-05-12 21:38:40 -07: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
Ross Smith II 4f87ba12cc Update CHANGELOG.md 2014-05-11 08:04:38 -07:00
Ross Smith II 9cf5c8fdb3 Merge pull request #1150 from rsabitov/ansible-dir
Fixes #1000: Uploading the whole ansible playbook directory
2014-05-11 07:59:20 -07:00
rsabitov ef0c8c495c playbook_dir documentation 2014-05-11 23:12:47 +10:00
Rickard von Essen 7e96187e78 Merge pull request #1162 from rickard-von-essen/keep_sound
builder/parallels: Don't delete sound, since it doesn't always exist.
2014-05-11 11:24:38 +02: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 40dbe8deb5 Merge pull request #1161 from rickard-von-essen/opt_if
builder/parallels: Select which interface to connect to.
2014-05-11 11:19:15 +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 fc10c1b1c8 Merge pull request #1160 from rickard-von-essen/mobile_net
builder/parallels: Added pppX interface
2014-05-11 00:17:07 +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