[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"
|
||||
tags = "mgmt"
|
||||
os = "l26"
|
||||
machine = "q35"
|
||||
password = "${var.proxmox_password}"
|
||||
proxmox_url = "${var.proxmox_url}"
|
||||
scsi_controller = "virtio-scsi-single"
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user