FreeNAS 11 - start VM from command line

Status
Not open for further replies.

maxdevaine

Cadet
Joined
May 16, 2017
Messages
5
Hello,
I have created VM in FreeNAS 11 web interface, all works ok. But I need periodically stop VM, revert snapshot and start VM.
I can't found solution for start VM from command line.
bhyvectl not see my VM
iohyve not see my VM
vm command give error : /usr/local/sbin/vm: ERROR: $vm_enable is not enabled in /etc/rc.conf!

So, is there any solution? I have only one VM with autostart option, so if is not possible to run VM directly, it is possible to run autostart procedure for all VMs without restart FreeNAS?

Thank for any solution

Max Devaine
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
At this time, there are no CLI tools to stop/start Bhyve VMs that have been created in the GUI.
 

Rocco

Dabbler
Joined
Oct 30, 2014
Messages
13
And what about now? Can we start VMs by issuing commands now? Are we there yet? lol
 

BarryB

Cadet
Joined
Oct 12, 2017
Messages
4
Forgive me for bumping this if it's old news :D ...I'm fairly new to Freenas and quite happy with it. However, not being able to start a VM from the command line is a huge issue at this very moment. I've searched a bit but this thread keeps coming up. I tried searching through bugs.freenas.org to see if there was a feature request created as suggested by m0nkey but and didn't come across one BUT not sure how good my searches were working. Does anybody know if this feature is any closer yet?

Thanks!
 
Status
Not open for further replies.
Top