Jump to content

Fast way to to start VM / Docker?


testdasi

Recommended Posts

Is there any fast way start a VM / Docker without having to do a lot of clicks?  ???

 

For example

  • Normal way to start VM: Open Browser => Type tower => click Dashboard => Click VM => click Start => VM starts
  • Is there any way to: Open Browser => Click a bookmark => VM starts ?

 

I think I can ssh in and type some commands (not sure what) to start a VM but then it's still a lot slower than just create a link to a bookmark on phone and then open it when needed.

 

Edit:

The VM can certainly be set on auto start  ;D but if I have multiple VMs which use the same resource e.g. maybe a Linux + a Windows test VMs both share the same GPU => can't autostart both without crashing.

Wondering if there's any way to pick 1 VM to start without a lot of clicking.

 

 

Link to comment

I have the same setup and mostly I find it easiest to just click to the page ever so often as I have 1 main VM that uses the GPU. That said you could make a script that you run that shutdown the current VM, waits xx amount of seconds and starts the next VM. It would look something like this:

virsh shutdown win10vm
sleep 30
virsh start win7vm

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...