clincha-org / clincha

Configuration and monitoring of clinch-home infrastructure
https://clinch-home.com
1 stars 1 forks source link

Packer Error: Unknown source type proxmox #91

Closed clincha closed 1 year ago

clincha commented 1 year ago

I've started to get this error in Packer after I rebuilt the initialisation server.

Run /usr/bin/packer build \
Error: Unknown source type proxmox

  on rhel[8](https://github.com/clincha/clincha/actions/runs/5204672773/jobs/9389201848#step:5:9).pkr.hcl line 46:
  (source code not available)

known builders: [amazon-ebs azure-chroot amazon-chroot null azure-dtl vmware-vmx
vmware-iso azure-arm virtualbox-iso docker amazon-ebssurrogate qemu
virtualbox-ovf vsphere-clone amazon-instance vagrant amazon-ebsvolume
parallels-pvm virtualbox-vm file vsphere-iso parallels-iso googlecompute]
clincha commented 1 year ago

I needed to download the Proxmox libraries from their GitHub

clincha commented 1 year ago

Added this

packer {
  required_plugins {
    proxmox = {
      version = ">= 1.1.2"
      source  = "github.com/hashicorp/proxmox"
    }
  }
}

and a new step in my GitHub workflow

      - name: packer init
        working-directory: packer
        run: |
          /usr/bin/packer init .