-
Notifications
You must be signed in to change notification settings - Fork 0
/
files.tf
60 lines (54 loc) · 1.88 KB
/
files.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
resource "proxmox_virtual_environment_file" "debian_cloud_image" {
content_type = "iso"
datastore_id = "USB"
node_name = "proxmox1"
source_file {
path = "https://cdimage.debian.org/images/cloud/bullseye/20221219-1234/debian-11-genericcloud-amd64-20221219-1234.qcow2"
file_name = "debian-11-genericcloud-amd64-20221219-1234.img"
checksum = "ba0237232247948abf7341a495dec009702809aa7782355a1b35c112e75cee81"
}
}
resource "proxmox_virtual_environment_file" "cloud_config" {
content_type = "snippets"
datastore_id = "USB"
node_name = "proxmox1"
source_file {
path = "cloud-init/user-data.yml"
}
}
resource "proxmox_virtual_environment_file" "debian_cloud_image2" {
content_type = "iso"
datastore_id = "USB"
node_name = "proxmox2"
source_file {
path = "https://cdimage.debian.org/images/cloud/bullseye/20221219-1234/debian-11-genericcloud-amd64-20221219-1234.qcow2"
file_name = "debian-11-genericcloud-amd64-20221219-1234.img"
checksum = "ba0237232247948abf7341a495dec009702809aa7782355a1b35c112e75cee81"
}
}
resource "proxmox_virtual_environment_file" "cloud_config2" {
content_type = "snippets"
datastore_id = "USB"
node_name = "proxmox2"
source_file {
path = "cloud-init/user-data.yml"
}
}
resource "proxmox_virtual_environment_file" "debian_cloud_image3" {
content_type = "iso"
datastore_id = "USB"
node_name = "proxmox3"
source_file {
path = "https://cdimage.debian.org/images/cloud/bullseye/20221219-1234/debian-11-genericcloud-amd64-20221219-1234.qcow2"
file_name = "debian-11-genericcloud-amd64-20221219-1234.img"
checksum = "ba0237232247948abf7341a495dec009702809aa7782355a1b35c112e75cee81"
}
}
resource "proxmox_virtual_environment_file" "cloud_config3" {
content_type = "snippets"
datastore_id = "USB"
node_name = "proxmox3"
source_file {
path = "cloud-init/user-data.yml"
}
}