Control gui-created virtual machines from the commandline

Status
Not open for further replies.

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
I've got a question about creating VMs in the web interface. I assume that iohyve is being used to create the VMs, or is bhyve being used on its own? Either way it would be nice to have a way to start the virtual machines from the commandline.

I'd assumed that if I created a virtual machine using the gui it would also have been manageable using iohyve, but apparently this is not the case. iohyve does not list any virtual machines that have been made in the webui. Is there any way to access the configuration that's been used to create the VMs? I would like to have more control over the VMs being able to start and stop them using the crontab and commandline.
 
D

dlavigne

Guest
FreeNAS doesn't use iohyve to manage the GUI VMs as the GUI implementation uses pure bhyve. This means that vms created using the GUI won't show using the iohyve CLI and vice-versa.

Once the middleware API is complete and documented (I suspect around 11.1), you will be able to use the API to manage VMs from the CLI.
 

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
Damn. Guess I remake with iohyve :(
 
Status
Not open for further replies.
Top