How to recreate a virtual mashine

Hello,

We would like to recreate our virtual machines after a crash of the hostsystem.
Of cause we can press the edit button in the host view, but this will not call the libvirt-provider to create the virtual machine.

what is the way to solve this?

Thanks
Dirk Roloff

> We would like to recreate our virtual machines after a crash of the hostsystem.
> Of cause we can press the edit button in the host view, but this will not call the libvirt-provider to create the virtual machine.

Hi, I am not sure if I follow this right, but if you want to completely
reinstall the host, just put your host in the Foreman into "build" mode
by pressing "build" button, make sure your VM instance is set up for
booting over the network and start it. It will ERASE and REINSTALL
everything from scratch.

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

I think he wants to re-create the VM on the libvirt host, which a
rebuild won't do. Sadly your only option is to delete the Host in
Foreman and re-create it (or spin up a new vm manually and associate
it with the Host in Foreman). There's no way to mass-recreate virtual
machines through Foreman.

··· On 26 February 2014 13:54, Lukas Zapletal wrote: >> We would like to recreate our virtual machines after a crash of the hostsystem. >> Of cause we can press the edit button in the host view, but this will not call the libvirt-provider to create the virtual machine. > > Hi, I am not sure if I follow this right, but if you want to completely > reinstall the host