You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parallels-pvm.base-fedora: output will be in this color.
==> parallels-pvm.base-fedora: Importing VM: /Users/sergio/Parallels/Fedora_36_tools.pvm
==> parallels-pvm.base-fedora: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> parallels-pvm.base-fedora: Deleting output directory...
Build 'parallels-pvm.base-fedora' errored after 436 milliseconds 894 microseconds: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> Wait completed after 436 milliseconds 937 microseconds
==> Some builds didn't complete successfully and had errors:
--> parallels-pvm.base-fedora: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> Builds finished but no artifacts were created.
The text was updated successfully, but these errors were encountered:
Hello this is non-obvious, as at least in my version of Parallels (18.3.2 (53621)) there is no drop-down menu with a 'unregister VM' option, so it was this post that I found that is old but suggests a way forward, which worked by running
prlctl list -a
get the UUID of the image to use, ensuring it's shutdown and then and doing a
Overview of the Issue
Failed to register the VM: "Fedora_36_tools" when creating a packer file using an existing VM
Reproduction Steps
Create a working configuration file
packer build .
Plugin and Packer version
Packer v1.8.3
prlctl version 18.0.0 (53049)
packer-plugin-parallels_v1.0.3_x5.0_darwin_arm64
Simplified Packer Buildfile
Operating system and Environment details
Mac OS Monterey on an M1 Max
Log Fragments and crash.log files
parallels-pvm.base-fedora: output will be in this color.
==> parallels-pvm.base-fedora: Importing VM: /Users/sergio/Parallels/Fedora_36_tools.pvm
==> parallels-pvm.base-fedora: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> parallels-pvm.base-fedora: Deleting output directory...
Build 'parallels-pvm.base-fedora' errored after 436 milliseconds 894 microseconds: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> Wait completed after 436 milliseconds 937 microseconds
==> Some builds didn't complete successfully and had errors:
--> parallels-pvm.base-fedora: Error importing VM: prlctl error: Failed to register the VM: "Fedora_36_tools" is already registered. You cannot register a virtual machine more than once.
==> Builds finished but no artifacts were created.
The text was updated successfully, but these errors were encountered: