rmxymh / infra-ecosphere

Provisioning Emulator with simulated BMC and Virtualbox.
MIT License
46 stars 20 forks source link

Getitng error "the machine does not exist" while it does! #4

Open mansour1991 opened 3 years ago

mansour1991 commented 3 years ago

I have a problem running ./infra-ecosphere I have allready 4VMs running in Vbox. When I try to list them: vboxmanage list vms -> I get them but when I use sudo vboxmanage list vms -> I get nothing.

When I use ./infras-ecosphere I have to use it with sudo so I can have permissions to bind to the 623 udp port on the loopback interface. Now when I start this program with a configuration file that specify one of those VMs, I get an error which says "the machine does not exist". I believe, the problem is that the Wrapper GO library for Vbox is trying to use root privileges to inquire the VboxManager which give no listed VMs.

How can I solve the problem, in Vbox or in infra-ecosphere ?

I have Virtualbox 6.1 on my system.