Compare commits
No commits in common. "8c8b2f9405a500a2da484cd385f619248ed81c06" and "13447da3161fde9be5ef86f92d8fb3bf2368bd95" have entirely different histories.
8c8b2f9405
...
13447da316
2 changed files with 10 additions and 2 deletions
|
@ -8,7 +8,7 @@ resource "proxmox_virtual_environment_vm" "Ubuntu-22-Template" {
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
datastore_id = "Fast2Tb"
|
datastore_id = "Fast2Tb"
|
||||||
file_id = "local:iso/jammy-server-cloudimg-amd64.img"
|
file_id = proxmox_virtual_environment_download_file.ubuntu_cloud_image_22.id
|
||||||
interface = "scsi0"
|
interface = "scsi0"
|
||||||
size = 4
|
size = 4
|
||||||
}
|
}
|
||||||
|
@ -38,3 +38,11 @@ vga {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image_22" {
|
||||||
|
content_type = "iso"
|
||||||
|
datastore_id = "local"
|
||||||
|
node_name = "prox"
|
||||||
|
url = "https://cloud-images.ubuntu.com/jammy/20240720/jammy-server-cloudimg-amd64.img"
|
||||||
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ resource "proxmox_virtual_environment_vm" "Windows11" {
|
||||||
node_name = "pve2"
|
node_name = "pve2"
|
||||||
vm_id = 250
|
vm_id = 250
|
||||||
tags = ["tofu"]
|
tags = ["tofu"]
|
||||||
started = false
|
started = true
|
||||||
bios = "ovmf"
|
bios = "ovmf"
|
||||||
machine = "q35"
|
machine = "q35"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue