diff --git a/README.md b/README.md index c79989c..b5fb0f0 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ This project is inspired by [bitop/packer-templates](https://gitlab.com/bitop/pa **Packer**: -- HashiCorp [Packer](https://www.packer.io/intro/getting-started/install.html) v1.7.7 or higher. -- HashiCorp [Packer Plugin for Proxmox](https://www.packer.io/plugins/builders/proxmox/iso) (`proxmox-iso`) v1.0.8 or higher. +- HashiCorp [Packer](https://www.packer.io/intro/getting-started/install.html) +- HashiCorp [Packer Plugin for Proxmox](https://www.packer.io/plugins/builders/proxmox/iso) (`proxmox-iso`) Required plugins are automatically downloaded during the `packer init` phase. These plugins are placed in the same directory as your Packer executable `/usr/local/bin` or `$HOME/.packer.d/plugins`. @@ -40,9 +40,11 @@ If required, modify the configuration and scripts files. Initialize packer and start a build. +> **Info:** Using the force flag will automatically remove existing _templates_ with a matching name or VMID. + ```Shell packer init rocky-9/ -packer build rocky-9/ +packer build -force rocky-9/ ``` ## License diff --git a/rocky-9/data/files/90-proxmox.cfg b/rocky-9/data/files/90-proxmox.cfg index 82829a4..22bb145 100644 --- a/rocky-9/data/files/90-proxmox.cfg +++ b/rocky-9/data/files/90-proxmox.cfg @@ -31,7 +31,6 @@ cloud_config_modules: - set-passwords - rh_subscription - yum-add-repo - - package-update-upgrade-install - timezone - puppet - chef diff --git a/rocky-9/server.pkr.hcl b/rocky-9/server.pkr.hcl index cbcbfae..073387a 100644 --- a/rocky-9/server.pkr.hcl +++ b/rocky-9/server.pkr.hcl @@ -2,7 +2,7 @@ packer { required_version = ">= 1.8.3" required_plugins { proxmox = { - version = ">= 1.0.8" + version = "1.1.2" source = "github.com/hashicorp/proxmox" } }