File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ resource "proxmox_virtual_environment_vm" "PBS" {
2
+ # VM General Settings
3
+ node_name = " prox"
4
+ vm_id = 10000
5
+ name = " PBS"
6
+ description = " Proxmox Backup Server"
7
+ tags = [" tofu" , " iac-repo" ]
8
+ started = true
9
+
10
+ agent {
11
+ enabled = false
12
+ }
13
+
14
+ # VM CPU Settings
15
+ cpu {
16
+ cores = 2
17
+ type = " host"
18
+ architecture = " x86_64"
19
+ }
20
+
21
+ # VM Memory Settings
22
+ memory {
23
+ dedicated = 2048
24
+ }
25
+
26
+ # VM Network Settings
27
+ network_device {
28
+ bridge = " vmbr0"
29
+ }
30
+
31
+ # VM Disk Settings
32
+ disk {
33
+ datastore_id = " Fast2Tb"
34
+ interface = " scsi0"
35
+ size = 32
36
+ file_format = " raw"
37
+ }
38
+
39
+ disk {
40
+ datastore_id = " Slow4tb"
41
+ interface = " scsi1"
42
+ size = 2048
43
+ file_format = " raw"
44
+ }
45
+ }
You can’t perform that action at this time.
0 commit comments