Talos on Proxmox WIP
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# resource "proxmox_virtual_environment_file" "cloud_init_user_data" {
|
||||
# for_each = toset(var.vm_guests)
|
||||
# content_type = "snippets"
|
||||
# datastore_id = "local"
|
||||
# file_mode = 0666
|
||||
# node_name = each.value.host
|
||||
# overwrite = true
|
||||
# source_raw {
|
||||
# data = templatefile()
|
||||
# file_name = "cloud_init_user_data_${each.value.name}.yml"
|
||||
# }
|
||||
# timeout_upload = 10
|
||||
# upload_mode = "stream"
|
||||
# }
|
||||
|
||||
resource "proxmox_virtual_environment_file" "talos_iso" {
|
||||
for_each = data.proxmox_virtual_environment_node.hvc01
|
||||
content_type = "iso"
|
||||
datastore_id = "local"
|
||||
node_name = each.value.id
|
||||
overwrite = false
|
||||
source_file {
|
||||
# checksum =
|
||||
file_name = "talos_${local.talos_version}.iso"
|
||||
insecure = false
|
||||
min_tls = "1.2"
|
||||
path = data.talos_image_factory_urls.this.urls.iso_secureboot
|
||||
}
|
||||
timeout_upload = 120
|
||||
# upload_mode = # N/A, has no effect when content_type = iso
|
||||
}
|
||||
Reference in New Issue
Block a user