[packer] feat: use q35 machine

This commit is contained in:
Simon Cornet 2024-10-24 14:53:53 +02:00
parent b561e632e2
commit 31a50356ac
2 changed files with 17 additions and 15 deletions

View File

@ -114,6 +114,7 @@ source "proxmox-iso" "template" {
vm_id = "10001"
tags = "mgmt"
os = "l26"
machine = "q35"
password = "${var.proxmox_password}"
proxmox_url = "${var.proxmox_url}"
scsi_controller = "virtio-scsi-single"

View File

@ -110,21 +110,22 @@ source "proxmox-iso" "template" {
http_directory = "ubuntu24/http"
insecure_skip_tls_verify = true
iso_file = "${var.proxmox_iso_pool}/${var.ubuntu_image}"
node = "${var.proxmox_node}"
vm_id = "10002"
tags = "mgmt"
os = "l26"
password = "${var.proxmox_password}"
proxmox_url = "${var.proxmox_url}"
scsi_controller = "virtio-scsi-single"
ssh_port = 22
ssh_timeout = "20m"
ssh_username = "${var.template_username}"
ssh_password = "${var.template_password}"
template_description = "${var.template_description} - Created on ${formatdate("DD-MM-YYYY", timestamp())}"
template_name = "${var.template_name}"
unmount_iso = true
username = "${var.proxmox_username}"
node = "${var.proxmox_node}"
vm_id = "10002"
tags = "mgmt"
os = "l26"
machine = "q35"
password = "${var.proxmox_password}"
proxmox_url = "${var.proxmox_url}"
scsi_controller = "virtio-scsi-single"
ssh_port = 22
ssh_timeout = "20m"
ssh_username = "${var.template_username}"
ssh_password = "${var.template_password}"
template_description = "${var.template_description} - Created on ${formatdate("DD-MM-YYYY", timestamp())}"
template_name = "${var.template_name}"
unmount_iso = true
username = "${var.proxmox_username}"
}
build {