Answer the question
In order to leave comments, you need to log in
How to create VM or Template from Snapshot using ovirt-shell or REST API?
Firework!
There is a small problem: I can't figure out how to create a new VM from a snapshot.
As I understand it, the procedure should be something like this:
1 Create a snapshot in the VM
2 Create a new, empty, VM with the same configuration as on the VM with the snapshot
3 Copy (clone) the snapshot to a new disk
4 Connect the new disk to the new VM
5 Make from a new VM what is needed
Create a VM with an identical configuration is not a problem: I just look through show vm vm_name
its configuration, and redirect the output (except for the name and id fields) to add vm
. But I can't figure out how to connect a snapshot to it.
I can’t use python-api for some reason, although I would gladly use
Who worked with this, tell me, maybe there is another, more elegant solution?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question