Is there a fast way to restore several VMs from a snapshot?
- create a vm-1, do processing, launch apps, etc.
- take stateful snapshot
- create 10-15 VMs based on that stateful snapshot (with different NIC)
Is it possible, or it’s stupid to even ask?
Is there a fast way to restore several VMs from a snapshot?
Is it possible, or it’s stupid to even ask?
lxc copy <instance>/<snap> <new instance
should work.
I’m not sure how well the new guest will take it though, maybe try it and feedback?
lxc copy worker-1/snap new-vm
Error:
Error: Instance name cannot be changed during stateful copy ("worker-1" to "new-vm")
Am I using the command incorrectly?
Yes, so that is not a possibility then, for stateful snapshots.