Commit Graph

5192 Commits

Author SHA1 Message Date
Mikhail Zholobov abfe706fc6 builder/parallels: Add "StepCompactDisk" 2015-09-11 11:38:20 +03:00
Mikhail Zholobov f7b26e44fe builder/parallels: Add "CompactDisk" driver function
This function compacts the specified virtual disk image.
2015-09-11 11:37:52 +03:00
Jon Benson dd286ff63c Add artifact_types 2015-09-08 12:51:24 -05:00
Vasiliy Tolstov 3fae902bc3 enable discards only on qemu >= 2
older qemu versions does not have discard option, so not enable it

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-08 10:40:23 +00:00
Mikhail Zholobov 4ebee7bf3f builder/parallels: Add "DiskPath" driver function
This function determines path to the first virtual disk image of the specified virtual machine.
2015-09-05 13:08:24 +03:00
Jon Benson 673baa12d0 Add vmware and virtual box to artifact_types 2015-09-04 15:08:27 -05:00
Jon Benson 5e27f9353f Document recommended artifact_type 2015-09-04 15:01:35 -05:00
Jon Benson dbd1a13f0d Document recommended artifact-types 2015-09-04 14:51:35 -05:00
Gonzalo Peci f01f62dc88 Add specific exit codes listed on https://msdn.microsoft.com/en-us/library/windows/desktop/ms681383(v=vs.85).aspx 2015-08-28 09:55:14 +12:00
Gonzalo Peci 8bd3e62853 Because the new functionality makes the ```waitForRestart()``` function run commands it modifies the value of ```comm.StartCmd.Command``` that is being checked, we need to implement the same workaround that is being used for the ```waitForCommunicator()``` function. This should make the test work again and retain functionality. 2015-08-28 09:54:59 +12:00
Gonzalo Peci 08359e409a Revert the shutdown command with new parameters as this will return proper exit codes. This will work in the same way as restart-computer -force when using ```shutdown /r /f /t 0```.
Note:The WinRM library does not return the exit code currently, this will be implemented on https://github.com/masterzen/winrm/pull/26
2015-08-28 09:54:39 +12:00
Gonzalo Peci 70083fc869 Add reboot checks before moving out of the reboot. 2015-08-28 09:54:24 +12:00
Chris Bednarski 17cea4fa95 Merge pull request #2681 from tas50/master
Download chef from chef.io
2015-08-27 14:37:12 -07:00
Chris Bednarski 5c7481362c Changed AWS_SECURITY_TOKEN to AWS_SESSION_TOKEN
Fixes #2687
2015-08-27 14:35:54 -07:00
Mitchell Hashimoto 6d1376db94 up version for dev 2015-08-26 21:24:47 -07:00
Chris Bednarski c834a00e22 Added a name validator to the push command 2015-08-26 12:16:18 -07:00
Chris Bednarski 0d973145f5 Added a note to the push docs about dot being disallowed in atlas names 2015-08-26 12:00:13 -07:00
Tim Smith 72e8119233 Download chef from chef.io 2015-08-25 21:53:50 -07:00
Chris Bednarski 38dd0a5bde Merge pull request #2665 from lantrix/master
Powershell debugging options as per Issue #2550
2015-08-24 22:38:38 -07:00
Chris Bednarski 4932e0cb16 Merge pull request #2669 from rickard-von-essen/issue-2667
Fixes #2667: Added vmware-rename to fix command help text
2015-08-24 22:12:02 -07:00
Or Cohen 2a94b596ce Fix and refactor block device mapping builder
Fix NoDevice not properly configured #2398.
Refactor the mapping builder to match BlockDeviceMapping from AWS SDK:

* If NoDevice is specified, include NoDevice only.
* If VirtualName starts with ephemeral, don't create Ebs (they are mutually
  exclusive anyway)
* Otherwise, assume Ebs and create it with the exact specified attributes by
  the user.

Change/add tests to reflect these changes.
2015-08-25 00:24:05 +03:00
Rickard von Essen 4e20522afd Fixes #2667: Added vmware-rename to fix command help text 2015-08-24 20:19:49 +02:00
Rickard von Essen 83980d2326 Enable headless mode by default on Parallels Desktop 11 2015-08-24 15:09:29 +02:00
Lantrix 1fe44b6624 Powershell debugging options as per Issue #2550 2015-08-24 17:32:01 +10:00
Chris Bednarski a55d2f1243 Allow failures in 1.5 since the build scripts don't support switching for 2015-08-22 14:14:58 -07:00
Chris Bednarski 599ef8e936 Add 0.8.6 release date to the changelog 2015-08-22 13:43:33 -07:00
Rickard von Essen 7d3afc882a Add check for Parallels Desktop edition in PD 11.
Starting since Parallels Desktop 11, the command line functionality is
available only in Pro and Business editions.
2015-08-22 13:15:59 +02:00
Chris Bednarski f8f7b7a34c Bump version to 0.8.6 2015-08-21 19:54:01 -07:00
Chris Bednarski fbb39bebd8 Merge pull request #2655 from mitchellh/b-makefile
Overhaul the Makefile
2015-08-21 18:41:09 -07:00
Chris Bednarski 547e9dd340 Add deps pre-target and remove testrace sadness from ci 2015-08-21 18:37:51 -07:00
Chris Bednarski 938f2178d7 Overhaul the Makefile
- Fix updatedeps reverting to master, which causes Travis CI to produce invalid results for pull-request builds. The makefile attempts to detect this change and checkout the correct branch if it happens.
- Clean up the code style and failure messaging.
- Add / update proxy targets for common workflows: default, deps, ci, release
2015-08-21 18:25:58 -07:00
Chris Bednarski 0a79546cf9 Update dependency to an SSL-enabled path; this was migrated from launchpad to github 2015-08-21 17:17:56 -07:00
Chris Bednarski b610e8005c Merge branch 'master' of https://github.com/mitchellh/packer 2015-08-21 17:11:02 -07:00
Chris Bednarski f725cf1a4b Correct docs for qemu vm_name 2015-08-21 17:10:56 -07:00
Chris Bednarski 666cdc03a6 Merge pull request #2646 from mitchellh/b-tests
Fix failing tests on master
2015-08-21 17:09:03 -07:00
Chris Bednarski 50d44ad740 Updated changelog 2015-08-21 17:08:14 -07:00
Chris Bednarski bf733b75d5 Revert "By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5."
This reverts commit 55fadd96bc.
2015-08-21 16:46:29 -07:00
Chris Bednarski c8d1c650f0 Revert "Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing."
This reverts commit d13647ee0f.
2015-08-21 16:45:47 -07:00
Chris Bednarski cf8933e374 Merge pull request #2573 from pecigonzalo/f-build-mingw
Update Make and Build.sh so it works on MinGW
2015-08-20 19:16:20 -07:00
Gonzalo Peci 0006cce41b When using MinGW gopath uses ; as separators, if we use : it strips everything after the driver letter. EG: C:\GO_Working\ gets stripped to C and makes ```make dev``` and ```make``` fail 2015-08-21 13:58:33 +12:00
Chris Bednarski bc06508470 Merge pull request #2650 from tas50/master
Opscode -> Chef
2015-08-20 16:27:33 -07:00
Tim Smith 14b39c5b51 Opscode -> Chef
Basic company name update
2015-08-20 16:26:18 -07:00
Chris Bednarski 244500c667 Merge pull request #2636 from mitchellh/docs-checkpoint
Added docs for checkpoint
2015-08-20 14:23:49 -07:00
Chris Bednarski 1830c81eab Correct and expand docker config tests for commit, discard, export_path 2015-08-20 14:15:52 -07:00
Chris Bednarski d13647ee0f Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing. 2015-08-20 14:03:16 -07:00
Olivier Tremblay 6644f57160 Merge branch 'master' into custom-targetpath 2015-08-20 08:20:55 -04:00
Olivier Tremblay 839f051d93 undo portions of general stupidity I have done. 2015-08-20 07:41:02 -04:00
Olivier Tremblay f301a6454d Added documentation, renamed config param to iso_target_path 2015-08-20 07:37:24 -04:00
Olivier Tremblay 661552dfd5 Merge branch 'master' into custom-targetpath 2015-08-20 07:26:22 -04:00
Chris Bednarski 133d76f557 Merge pull request #2605 from mitchellh/b-2603
Don't delete iso_url when it's a local file
2015-08-19 13:15:32 -07:00