tweak
This commit is contained in:
@@ -8,10 +8,10 @@ locals {
|
|||||||
|
|
||||||
packer {
|
packer {
|
||||||
required_plugins {
|
required_plugins {
|
||||||
# ansible = {
|
ansible = {
|
||||||
# version = ">= 1.1.3"
|
version = ">= 1.1.3"
|
||||||
# source = "github.com/hashicorp/ansible"
|
source = "github.com/hashicorp/ansible"
|
||||||
# }
|
}
|
||||||
name = {
|
name = {
|
||||||
version = "~> 1"
|
version = "~> 1"
|
||||||
source = "github.com/hashicorp/proxmox"
|
source = "github.com/hashicorp/proxmox"
|
||||||
@@ -46,7 +46,7 @@ source "proxmox-iso" "ubuntu-24.04.03" {
|
|||||||
|
|
||||||
# VM Cloud-Init Settings
|
# VM Cloud-Init Settings
|
||||||
cloud_init = true
|
cloud_init = true
|
||||||
cloud_init_storage_pool = "local-lvm"
|
cloud_init_storage_pool = "${var.proxmox_vm_storage_pool}"
|
||||||
|
|
||||||
boot_command = [
|
boot_command = [
|
||||||
"<esc><wait>",
|
"<esc><wait>",
|
||||||
@@ -84,7 +84,7 @@ source "proxmox-iso" "ubuntu-24.04.03" {
|
|||||||
ssh_timeout = "15m"
|
ssh_timeout = "15m"
|
||||||
ssh_username = "${var.ssh_username}"
|
ssh_username = "${var.ssh_username}"
|
||||||
ssh_password = "${var.ssh_password}"
|
ssh_password = "${var.ssh_password}"
|
||||||
template_description = "Fedora 41-1.4, generated on ${timestamp()}"
|
template_description = "Ubuntu 24.04.03, generated on ${timestamp()}"
|
||||||
template_name = "${var.vm_name}"
|
template_name = "${var.vm_name}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user