add data volume pool

This commit is contained in:
Pim Kunis 2023-04-05 20:38:35 +02:00
parent 86eaf94190
commit 82f13757d7

View file

@ -32,6 +32,12 @@ resource "libvirt_pool" "init" {
path = "/kvm/init" path = "/kvm/init"
} }
resource "libvirt_pool" "data" {
name = "data"
type = "dir"
path = "/kvm/data"
}
resource "libvirt_volume" "ubuntu_jammy" { resource "libvirt_volume" "ubuntu_jammy" {
name = "ubuntu-jammy.img" name = "ubuntu-jammy.img"
pool = "iso" pool = "iso"