1. What is the nature and description of the request?
There is a module to create a snapshot but none to restore it to an existing VM (I haven't seen it either for a new VM, but my need is for an existing one).
1. Why does the customer need this? (List the business requirements here)
- Quickly and simply save and restore a VM's disk content,
- either before doing important changes
- or as part of a test/dev setup (e.g. pipeline)
2. How would you like to achieve this? (List the functional requirements
here)
I'd like a module to transparently replace a disk with its snapshot so as to have a simple: create snapshot -> modify/test -> restore snapshot playbook, but at least the possibility to remove a disk, then attach back the snapshot instead without recreating the VM would also be fine.
There is surely a VM stop/restart involved in the procedure, but I let you fill out the details.
1. List any affected known dependencies: Doc, UI etc..
- I assume that the approach described is possible somehow but I couldn't find it explicitly documented. The only reference I found is https://stackoverflow.com/questions/66065249/restoring-from-a-snapshot but it expects a VM creation, which wouldn't fit my customer's needs.