Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the Workstation driver check on Linux #242

Open
tenthirtyam opened this issue Aug 19, 2024 · 1 comment
Open

Refactor the Workstation driver check on Linux #242

tenthirtyam opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@tenthirtyam
Copy link
Collaborator

tenthirtyam commented Aug 19, 2024

Overview of the Issue

When using VMware Workstation 17.5.2 (Linux) and the personal license the drive can be mistake as Player.

When using the personal license, there is no license file in /etc/vmware/license-ws*, thus it skips the Workstation drivers and uses Player; thereby updating the driver state and app path from /usr/bin/vmware to /usr/bin/player. Then it will try to use the /usr/bin/vmrun -T player list instead of /usr/bin/vmrun -T ws list and that is where it fails.

To workaround the issue, you can run the following:

sudo touch /etc/vmware/license-ws-foo

However, the following will need to be addressed:

  • Alternative method to confirm us of Workstation vs Player.
  • Determine if the license check is still needed.

Plugin and Packer versions

  • hashicorp/packer v1.11.2 and earlier.
  • hashicorp/packer-pluign-vmware v1.1.0 and earlier.
@tenthirtyam tenthirtyam added this to the v1.1.1 milestone Aug 19, 2024
@tenthirtyam tenthirtyam self-assigned this Aug 19, 2024
@tenthirtyam tenthirtyam added the hypervisor/workstation VMware Workstation label Aug 19, 2024
@tenthirtyam tenthirtyam changed the title Refactor the Workstation driver check Refactor the Workstation driver check on Linux Aug 19, 2024
@tenthirtyam
Copy link
Collaborator Author

VMware Fusion and Workstation are Now Free for All Users

TL;DR:

"We’re thrilled to announce a significant change that reflects our commitment to making VMware Fusion and VMware Workstation more accessible than ever. Starting November 11, 2024, these powerful desktop hypervisor products will be available for free to everyone—commercial, educational, and personal users alike."

Based upon this change, for license check will be removed from the plugin for the latest versions for Fusion and Workstation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant