Defining image pool
This commit is contained in:
parent
d16f259959
commit
ecbce27540
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@ resource "libvirt_network" "talos_bridge" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "libvirt_pool" "images" {
|
||||||
|
name = "images"
|
||||||
|
type = "dir"
|
||||||
|
target {
|
||||||
|
path = "/var/lib/libvirt/images/talos-kvm"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Download the ISO
|
# Download the ISO
|
||||||
resource "libvirt_volume" "talos_iso" {
|
resource "libvirt_volume" "talos_iso" {
|
||||||
name = "talos-metal-arm64.iso"
|
name = "talos-metal-arm64.iso"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue