Packer build errors

Discussion in 'General Questions' started by AndyW7, Feb 12, 2021.

Tags:
  1. AndyW7

    AndyW7 Bit poster

    Messages:
    3
    I am trying to build a Windows 10 Vagrant box for Parallels using Packer via Stefan Scherer https://github.com/StefanScherer/packer-windows templates.
    I can successfully build boxes for VirtualBox but when I try to build for Parallels I get the following error:

    ```
    $ packer build --only=parallels-iso windows_2019_docker.json
    parallels-iso: output will be in this color.

    Build 'parallels-iso' errored after 372 milliseconds 173 microseconds: Failed creating Parallels driver: Unable to initialize any driver. Supported Parallels Desktop versions: 10, 9, 11


    ==> Wait completed after 372 milliseconds 254 microseconds

    ==> Some builds didn't complete successfully and had errors:
    --> parallels-iso: Failed creating Parallels driver: Unable to initialize any driver. Supported Parallels Desktop versions: 10, 9, 11


    ==> Builds finished but no artifacts were created.
    ```

    I have Parallels Desktop for Mac App Store Edition and I have installed parallels-virtualization-sdk via `brew reinstall --cask parallels-virtualization-sdk`
     
  2. AndyW7

    AndyW7 Bit poster

    Messages:
    3
    In my account it says I have Parallels Desktop for Mac Business Edition
     
  3. AndyW7

    AndyW7 Bit poster

    Messages:
    3
    Resolved.

    Parallels was installed over Parallels Desktop Lite and it appears that the install didn't fully overwrite the old version. Deleting the Parallels app from /Applications, then reinstalling resolved the issue.
     

Share This Page