VMware box not listed in Vmware

80 views
Skip to first unread message

Spbb

unread,
Jul 17, 2020, 6:44:11 PM7/17/20
to Vagrant
When I build with packer a vmware.vbox with vagrant the box is not listed in the vmware gui.

How can I archieve this ?



Alvaro Miranda Aguilera

unread,
Jul 18, 2020, 2:43:18 AM7/18/20
to vagra...@googlegroups.com
hello

not sure i follow where you expect the vm to be registered

packer will build a vm, and generate a file.box

then vagrant will create a vm

if you want the vm that vagrant creates be on the vmware gui, you need to enable vmware console

something like

Vagrant.configure("2") do |config|
  config.vm.box = "my-box"
  config.vm.provider "vmware_desktop" do |v|
    v.gui = true
  end
end

thanks
alvaro

On Sat, Jul 18, 2020 at 12:44 AM Spbb <bastia...@gmail.com> wrote:
When I build with packer a vmware.vbox with vagrant the box is not listed in the vmware gui.

How can I archieve this ?



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/72e4e24a-7f98-462f-a1ca-61b82ee876b6o%40googlegroups.com.


--
Alvaro

Spbb

unread,
Jul 18, 2020, 12:23:48 PM7/18/20
to Vagrant
Vmware-boxes-in-vmware-interface.png

How do I put a Vmware box I made with packer in this interface.


Op zaterdag 18 juli 2020 om 08:43:18 UTC+2 schreef kik...@gmail.com:

Spbb

unread,
Jul 18, 2020, 12:31:07 PM7/18/20
to Vagrant
So I want the Vmware box to start with the green play button. And NOT with vagrant up.
Like virtual box.

Op zaterdag 18 juli 2020 om 18:23:48 UTC+2 schreef Spbb:

Alvaro Miranda Aguilera

unread,
Jul 18, 2020, 12:47:24 PM7/18/20
to vagra...@googlegroups.com
it seems you dnt want to use vagrant

use packer, use vmware-iso, create a fodler and will be a vmx file you can open
or you can use a post processor and convert ovf into ova

once you have the VM into ovf or ova format you can open or import on vmware.


alvaro.



Spbb

unread,
Jul 18, 2020, 2:13:28 PM7/18/20
to Vagrant
Please clarify:
"use packer, use vmware-iso, create a fodler and will be a vmx file you can open"

Op zaterdag 18 juli 2020 om 18:47:24 UTC+2 schreef kik...@gmail.com:

dragon788

unread,
Jul 19, 2020, 10:04:54 PM7/19/20
to Vagrant
What he's saying is in the template you are using you should remove the vagrant post processor if it is there. Then you can double click the vmx file to add it to the VMware list of VMs.

Bas Neve

unread,
Jul 19, 2020, 10:36:02 PM7/19/20
to vagra...@googlegroups.com
I used packer. That creates a vmware.box. This box is added to vagrant.  Then I can initialise. The Vagrantfile is created and I can do a vagrant up. 

If I create a virtualbox it is added to the virtualboxmanager gui. 
I want the same for vmware how do I do this ?

Met vriendelijke groet,

Bas Neve
https://github.com/splunk/corona_virus













Op za 18 jul. 2020 om 18:47 schreef Alvaro Miranda Aguilera <kik...@gmail.com>:

Spbb

unread,
Jul 22, 2020, 5:59:02 AM7/22/20
to Vagrant
I want to use Vmwares just like docker. How do I do that ?

Op maandag 20 juli 2020 om 04:04:54 UTC+2 schreef dragon788:

dragon788

unread,
Jul 22, 2020, 10:15:37 AM7/22/20
to Vagrant
Do you use Docker through a GUI or do you use the command line to run containers and just monitor them with a GUI?

The reason Virtualbox automatically shows any Vagrant VMs is a design decision by Virtualbox of putting all VMs into a single folder in the user's home directory regardless of where the Vagrantfile is located.

VMware doesn't use this same assumption so if you want to see it in the VMware workstation list you need to open the .vmx file that is under the hidden .vagrant folder where your Vagrantfile is located.

Reply all
Reply to author
Forward
0 new messages