Commit Graph

20 Commits

Author SHA1 Message Date
Matthew Hooker c920e0a20b
forcefully stop parallels vm.
also only output parallels version once.
2018-04-19 16:11:29 -07:00
Josh Soref 935c8e9a28 spelling: configuration 2018-03-13 08:19:16 +00:00
Mikhail Zholobov aa623e22a3
golint: Add comments for exported methods 2016-12-17 00:37:04 +02:00
Mikhail Zholobov 73d87b07de
golint: Fix lint offences 2016-12-17 00:37:03 +02:00
Mikhail Zholobov 319b85cb7a
Fix style: Use a consistent case for initialisms
https://github.com/golang/go/wiki/CodeReviewComments#initialisms
2016-12-17 00:36:56 +02:00
Rickard von Essen fb00d07d20 Support future versions of Parallels by using the latest driver
If the Parallels Desktop for Mac version is higher than the latest
Packer driver use the latest available driver. Before this Packer needed
to be updated with every new version of PD even if there was no change
to the driver.
2016-07-02 22:18:54 +02:00
Rickard von Essen 3f14b9d984 Merge pull request #2731 from legal90/prl-compact-disk
Parallels: Add "CompactDisk" build step
2015-09-16 14:03:31 +02: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
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
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
Mikhail Zholobov f7af571cd9 builder/parallels: Add "SetDefaultConfiguration" function
This functions applies the default configuration to the virtual machine. Also, it disables some integration features
which should not present in the resulted VM image.

Functions are different in PD 9 and 10 structs because some additional options appeared only in Parallels Desktop 10 release.
2015-06-18 12:04:02 +03:00
Rickard von Essen 8393b85ed5 Support Parallels Desktop 11 2015-06-10 07:41:12 +02:00
Rickard von Essen d424ed1e37 builder/parallels: Use most recent DHCP lease when determening IP.
Fixes #1746. Problem establishing SSH connection with Fedora 21 and
Parallels
2014-12-28 22:22:16 +01:00
Mikhail Zholobov 0cfe58193f builder/parallels: Added driver method 'DeviceAddCdRom' 2014-10-04 22:39:54 +02: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
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
Mikhail Zholobov 909d5ccb54 builder/parallels: 'ToolsIsoPath' added 2014-09-02 11:02:03 +04:00
Mikhail Zholobov fc2d695b0f builder/parallels: Added compatibility with Parallels Desktop 10 2014-08-24 07:38:24 +04:00
Mikhail Zholobov 10be7e27de builder/parallels: Added platform check 2014-08-24 07:30:29 +04:00
Rickard von Essen cdaa9d5a8e Added support for Parallels Desktop for Mac [GH-223]
Added builder plugins: builder-parallels-iso and builder-parallels-pvm.
2014-05-01 20:29:22 +02:00