more complete

This commit is contained in:
2022-01-17 02:12:07 +01:00
parent b1906fa054
commit 09af127c01

View File

@@ -19,6 +19,21 @@ source "proxmox" "ubuntu" {
os = "l26"
username = "proxmox_user"
password = "tvowyfv9gh23sdfAERtLWav2674"
network_adapters {
model = "virtio"
bridge = "vmbr0"
}
qemu_agent = true
scsi_controller = "virtio-scsi-pci"
disks {
type = "scsi"
disk_size = "30G"
storage_pool = var.vm_storage_pool
storage_pool_type = "lvm-thin"
format = "raw"
}
boot_command = [
"<esc><wait>",
"<esc><wait>",
@@ -47,7 +62,5 @@ source "proxmox" "ubuntu" {
}
build {
type = "proxmox-iso"
name = "packer-ubuntu"
sources = [ "source.proxmox.ubuntu" ]
}