more complete
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
Reference in New Issue
Block a user