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