add data volume pool
This commit is contained in:
parent
86eaf94190
commit
82f13757d7
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Reference in a new issue