From 09af127c01305d34814ed98917905152a6ee2270 Mon Sep 17 00:00:00 2001 From: Iwan Clement Date: Mon, 17 Jan 2022 02:12:07 +0100 Subject: [PATCH] more complete --- data/QuickAndDirty/test.pkr.hcl | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/data/QuickAndDirty/test.pkr.hcl b/data/QuickAndDirty/test.pkr.hcl index f285274..dab240b 100644 --- a/data/QuickAndDirty/test.pkr.hcl +++ b/data/QuickAndDirty/test.pkr.hcl @@ -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 = [ "", "", @@ -47,7 +62,5 @@ source "proxmox" "ubuntu" { } build { - type = "proxmox-iso" - name = "packer-ubuntu" sources = [ "source.proxmox.ubuntu" ] } \ No newline at end of file