[packer] feat: use q35 machine
This commit is contained in:
parent
b561e632e2
commit
31a50356ac
@ -114,6 +114,7 @@ source "proxmox-iso" "template" {
|
|||||||
vm_id = "10001"
|
vm_id = "10001"
|
||||||
tags = "mgmt"
|
tags = "mgmt"
|
||||||
os = "l26"
|
os = "l26"
|
||||||
|
machine = "q35"
|
||||||
password = "${var.proxmox_password}"
|
password = "${var.proxmox_password}"
|
||||||
proxmox_url = "${var.proxmox_url}"
|
proxmox_url = "${var.proxmox_url}"
|
||||||
scsi_controller = "virtio-scsi-single"
|
scsi_controller = "virtio-scsi-single"
|
||||||
|
@ -110,21 +110,22 @@ source "proxmox-iso" "template" {
|
|||||||
http_directory = "ubuntu24/http"
|
http_directory = "ubuntu24/http"
|
||||||
insecure_skip_tls_verify = true
|
insecure_skip_tls_verify = true
|
||||||
iso_file = "${var.proxmox_iso_pool}/${var.ubuntu_image}"
|
iso_file = "${var.proxmox_iso_pool}/${var.ubuntu_image}"
|
||||||
node = "${var.proxmox_node}"
|
node = "${var.proxmox_node}"
|
||||||
vm_id = "10002"
|
vm_id = "10002"
|
||||||
tags = "mgmt"
|
tags = "mgmt"
|
||||||
os = "l26"
|
os = "l26"
|
||||||
password = "${var.proxmox_password}"
|
machine = "q35"
|
||||||
proxmox_url = "${var.proxmox_url}"
|
password = "${var.proxmox_password}"
|
||||||
scsi_controller = "virtio-scsi-single"
|
proxmox_url = "${var.proxmox_url}"
|
||||||
ssh_port = 22
|
scsi_controller = "virtio-scsi-single"
|
||||||
ssh_timeout = "20m"
|
ssh_port = 22
|
||||||
ssh_username = "${var.template_username}"
|
ssh_timeout = "20m"
|
||||||
ssh_password = "${var.template_password}"
|
ssh_username = "${var.template_username}"
|
||||||
template_description = "${var.template_description} - Created on ${formatdate("DD-MM-YYYY", timestamp())}"
|
ssh_password = "${var.template_password}"
|
||||||
template_name = "${var.template_name}"
|
template_description = "${var.template_description} - Created on ${formatdate("DD-MM-YYYY", timestamp())}"
|
||||||
unmount_iso = true
|
template_name = "${var.template_name}"
|
||||||
username = "${var.proxmox_username}"
|
unmount_iso = true
|
||||||
|
username = "${var.proxmox_username}"
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
Loading…
Reference in New Issue
Block a user