Christian Lempa bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
..
ubuntu-server-focal bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
ubuntu-server-focal-docker bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
ubuntu-server-jammy bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
ubuntu-server-jammy-docker bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
ubuntu-server-noble bfb3f8deda Merge branch 'main' into main 9 miesięcy temu
README.md fb3c23f811 Forcing newline on last line of the readme 1 rok temu
credentials.pkr.hcl ebab652abf packer and kubernetes changes 4 lat temu

README.md

Packer Proxmox

You can add an additional description here.

Installing Proxmox plugin

You have two options:

  • You can add this config block to your pkr.hcl file and run packer init.

    packer {
    required_plugins {
    name = {
      version = "~> 1"
      source  = "github.com/hashicorp/proxmox"
    }
    }
    }
    
  • Run packer plugins install github.com/hashicorp/proxmox to install the plugin globally in packer.

Running Packer

  1. Navigate into the folder you want to create a template with
  2. Run packer build -var-file ../credentials.pkr.hcl .

Troubleshooting

  • If you have tailscale installed, be aware that packer could grab the IP of your tailscale adapter rather than your LAN. You can either hard code the IP in the boot command or try setting the http_interface option
  • Sometimes the boot command is typed too fast and can cause issues. You can increase the time between types by using the boot_key_interval option.