Skip to content

Refactor the Workstation driver license check on Linux #242

@tenthirtyam

Description

@tenthirtyam

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions