Skip to content

docs: Add instructions for VMware Player on Linux#39

Closed
sbrownjc wants to merge 2 commits intovmware:mainfrom
sbrownjc:vmware-player-on-linux
Closed

docs: Add instructions for VMware Player on Linux#39
sbrownjc wants to merge 2 commits intovmware:mainfrom
sbrownjc:vmware-player-on-linux

Conversation

@sbrownjc
Copy link
Copy Markdown

In attempting to get packer working with VMWare Workstation Player on Linux, I had a lot of trouble until I found the information scattered about the internet, and then found this closed PR, whose instructions mirrored exactly what I'd done to get Workstation Player 16 running with Packer: hashicorp/packer#3451

This closed issue hashicorp/packer#1102 references this (lost?) commit: hashicorp/packer@c5ec92c which would have saved me much time if I could have seen it, so I'm making this PR to bring the information from hashicorp/packer#3451 in and up-to-date.

@sbrownjc sbrownjc requested a review from a team as a code owner September 20, 2021 20:15
@hashicorp-cla
Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@nywilken
Copy link
Copy Markdown
Contributor

👋 I still think that this comment is still very relevant. That said, @tenthirtyam do you have some thoughts on how we should be capture this.

Is this something that you have documented within your vmware-samples repo?

@tenthirtyam
Copy link
Copy Markdown
Collaborator

tenthirtyam commented Jul 27, 2022

Hey, @nywilken -

I don't have anything in that project that uses the vmware-iso builder - it uses the vsphere-iso builder.

I do use the vmware-iso builder for VMware Fusion and VMware Workstation in the https://github.com/vmware/photon-packer-templates project to create Photon images for Vagrant. However, VMware Player is not included/tested.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

@tenthirtyam
Copy link
Copy Markdown
Collaborator

I've added some comments to this PR for context, clarity, and correctness.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

Copy link
Copy Markdown
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nywilken @sbrownjc, I've recommended some changes before merge.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

Additionally you will need to have the `vmrun` command, which is part of the
VMware [Virtual Infrastructure eXtension][vix-api] [(VIX) SDK][vix-sdk].

Finally, if you installed a version of VMware player newer than 7.0, you must
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"VMware Workstation Player"

## VMware (Workstation) Player on Linux

Unfortunately just installing VMware Player is not quite enough to be able to
use packer. You will also need the `qemu-img` command which is available in
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Packer"


Unfortunately just installing VMware Player is not quite enough to be able to
use packer. You will also need the `qemu-img` command which is available in
the `qemu` package on Debian- and Fedora-like systems.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use "Red Hat Enterprise Linux and derivative" as well and "Debian and derivative".


## VMware (Workstation) Player on Linux

Unfortunately just installing VMware Player is not quite enough to be able to
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "Unfortunately just..."


Finally, if you installed a version of VMware player newer than 7.0, you must
edit the file `/usr/lib/vmware-vix/vixwrapper-config.txt` and change the
version specified in the fourth column there to be the version in the third
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "there".

Finally, if you installed a version of VMware player newer than 7.0, you must
edit the file `/usr/lib/vmware-vix/vixwrapper-config.txt` and change the
version specified in the fourth column there to be the version in the third
column of the `vmplayer -v` command. See [this thread][so] for more details.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"this StackOverflow thread"

benefit, you can feed the artifact of this builder back into Packer to
iterate on a machine.

## VMware (Workstation) Player on Linux
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"VMware Workstation Player on Linux"


## VMware (Workstation) Player on Linux

Unfortunately just installing VMware Player is not quite enough to be able to
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"VMware Workstation Player"

Additionally you will need to have the `vmrun` command, which is part of the
VMware [Virtual Infrastructure eXtension][vix-api] [(VIX) SDK][vix-sdk].

Finally, if you installed a version of VMware player newer than 7.0, you must
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove the versioning. Ideally the plugin should support only those versions supported by VMware per the lifecycle matrix. See project README.

@sbrownjc
Copy link
Copy Markdown
Author

@tenthirtyam Thanks for the review comments, I've updated the docs accordingly.

@tenthirtyam
Copy link
Copy Markdown
Collaborator

Thanks! I'll review the updates tomorrow for Wilken and provide and update.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

Copy link
Copy Markdown
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

cc @nywilken

@nywilken nywilken added docs and removed wontfix labels Aug 12, 2022
@nywilken
Copy link
Copy Markdown
Contributor

@tenthirtyam thanks for the thoughts and review on this PR, and @sbrownjc thanks for updates. The changes look good me me. We just need to have you sign the CLA so that I can merge these changes in.

If you have already accepted the CLA please make sure that the email used in your commits match the email you signed the CLA with and that the signing email is your primary GitHub email. The CLA bot only checks against the user's primary GitHub email.

@tenthirtyam
Copy link
Copy Markdown
Collaborator

Hi @sbrownjc - could you resolve the issue with signing the HashiCorp CLA? This will help expedite your valuable updates.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

@tenthirtyam tenthirtyam added the stage/awaiting-reply Stage: Awaiting Reply label Sep 28, 2022
@tenthirtyam tenthirtyam changed the title Add instructions to get VMWare Player working on Linux docs: add instructions for VMware Player on Linux Sep 28, 2022
@tenthirtyam tenthirtyam changed the title docs: add instructions for VMware Player on Linux docs: Add instructions for VMware Player on Linux Sep 28, 2022
@tenthirtyam
Copy link
Copy Markdown
Collaborator

Hi @sbrownjc - could you resolve the issue with signing the HashiCorp CLA? This will help expedite your valuable updates.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

@sbrownjc
Copy link
Copy Markdown
Author

sbrownjc commented Oct 17, 2022

Hi @tenthirtyam, I'm sorry for the delay, I was waiting on a response from legal since I posted using my work GH account.

If possible, I would like to submit this work outside of a CLA, following section 7 of the CLA:

Should You wish to submit work that is not Your original creation, You may submit it to HashiCorp separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".

This work is being Submitted on behalf of a third-party: Anand Kumria, the complete details of the source are in the original post.

@tenthirtyam
Copy link
Copy Markdown
Collaborator

cc @nywilken for submission state review.

@tenthirtyam tenthirtyam requested a review from nywilken November 22, 2022 04:55
@tenthirtyam tenthirtyam added this to the v1.0.8 milestone Dec 4, 2022
@nywilken
Copy link
Copy Markdown
Contributor

@sbrownjc @tenthirtyam apologies for not getting back much sooner. In speaking with our legal team the author of the change must still sign the CLA in order to make the contribution on behalf of another contributor under section 7. Unfortunately that means I will not be able to merge in these changes unless the CLA is signed.

I'm going to close this PR given the time I kept everyone waiting. If you wish to reopen with your personal GH and sign the CLA I would be glad to merge it right away.

Thank you @tenthirtyam for your help here.

@vmware vmware locked and limited conversation to collaborators Jun 29, 2024
@tenthirtyam tenthirtyam added documentation Documentation and removed docs labels Jul 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants