Mikhail Zholobov
6e778e7244
builder/parallels: Default cdrom0 should be disconnected
...
Otherwise, the error message will be displayed in GUI:
"Unable to connect CD/DVD 0"
2014-10-21 16:44:43 +04: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
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
Rickard von Essen
365b44c5af
parallels-iso: allow absolute output directory.
...
Fixes [GH-1466]
2014-09-08 11:00:59 +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
Mitchell Hashimoto
76a8221636
builder/*: extract key path to ssh.Signer
2014-09-03 20:23:39 -07:00
Mikhail Zholobov
16cb6f60c8
builder/parallels: "guest_os_distribution" renamed to "guest_os_type".
...
"guest_os_distribution" become deprecated and is not required anymore.
But if it is defined (in outdated templates),then the value will be copied to "guest_os_type" and warning will be displayed.
2014-09-02 18:14:50 +04:00
Mikhail Zholobov
bed6270288
builder/parallels: Detect path to Parallels Tools ISO automatically.
...
'parallels_tools_host_path' param is deprecated
'parallels_tools_flavor' is added (mandatory).
2014-09-02 18:14:26 +04:00
Mikhail Zholobov
40c169f757
builder/parallels: Added 'StepPrepareParallelsTools'
2014-09-02 18:14:26 +04:00
Mikhail Zholobov
13b355eaf0
builder/parallels: Added 'ToolsConfig' struct
2014-09-02 18:13:40 +04:00
Mikhail Zholobov
909d5ccb54
builder/parallels: 'ToolsIsoPath' added
2014-09-02 11:02:03 +04:00
Rickard von Essen
f9cddd2e18
builder/parallels: Added some navigation keys. Fixes [GH-1442]
2014-08-26 01:00:58 +02: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
Mikhail Zholobov
9ad2b98673
builder/parallels: Removed config parameter 'ostype'
...
We have to set either 'ostype' or 'distribution', but not both.
2014-08-24 07:30:29 +04:00
Rickard von Essen
732c767bfd
parallels: Support for Parallels Desktop 10
2014-08-23 20:23:13 +02:00
Rickard von Essen
fe37d9b6e1
parallels-iso: ISO not removed from VM after install [GH-1338]
...
Also remove floppy and prl-tools ISO if applicable.
2014-08-08 10:07:32 +02:00
Rickard von Essen
25d2a74f49
Merge pull request #1187 from rickard-von-essen/fix_typing
...
builder/parallels: Fixed problems with character when typing boot command
2014-06-22 21:05:40 +02:00
Rickard von Essen
a5d39cebc7
Merge pull request #1173 from rickard-von-essen/pvm_bootcommand
...
[feature] Support boot command for pvm builder
2014-06-22 21:05:04 +02:00
Rickard von Essen
3f3deab162
Merge pull request #1279 from rickard-von-essen/issue_1226
...
Parallels-iso errors while removing floppy drive GH-1226
2014-06-22 21:04:02 +02: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