I am trying to use vagrant with an existing VM (VMware Fusion) to not lose everything I already have but I saw that vagrant package
only works with Virtualbox. I found this plugin which seems to make packaging with VMware possible but I somehow can’t make it work.
When I type vagrant package-vmware Ubuntu.vmwarevm/ --output vagrant_ubuntu
it shows me a message saying:
A Vagrant environment or target machine is required to run this
command. Runvagrant init
to create a new Vagrant environment. Or,
get an ID of a target machine fromvagrant global-status
to run this
command on.
If I try vagrant global-status
, it tells me that “There are no active Vagrant environments” which is normal. So when I do vagrant init
and then the package command again, I have the following message:
The machine with the name ‘Ubuntu.vmwarevm/’ was not found configured for this Vagrant environment.
I can’t find anything about configuring my VM for vagrant, does anyone know what can I do? I really don’t want to transfer my VM to Virtualbox even if it’d make things easier because I will still need graphic interface from time to time and Virtualbox bugs too much on my Macbook Pro.
Thanks in advance!