Open avekrivoy opened 4 years ago
+1
I browsed the code and seems like it's not possible. I modified code (in a quite ugly way) and made it working for me. Added full_clone option and when used with source it clones image:
resource "libvirt_volume" "kube-node-1" {
name = "kube-node-1"
pool = "default"
source = "ubuntu-18.04-base"
format = "qcow2"
full_clone = true
}
For this feature I used StorageVolCreateXMLFrom
+1 would like this also!
Bumping this. Would be extremely useful to have this work remotely
Would be really nice to have clone feature. Creating volumes on remote servers is very expensive and time consuming. Thanks.
+1
Is it possible to create new volume for domain from base image using full copy feature? Not CoW mechanism. I'm running terraform from my local machine and therefore can't use the following syntax
because terraform will lookup for an image on my local machine, where terraform provider is installed.
So, is there any option that will allow me to make a full copy from base image in pool?