Mirroring enterprise PDM repos in POM

Cookiefamily

Renowned Member
Jan 29, 2020
161
43
68
Germany
Hello,

I was wondering how I could mirror my enterprise PDM repo in POM. Usually the enterprise PDM repo should be unlocked once >80% of the PVE nodes managed have a valid >=Basic subscription.

I have a PDM with 4 nodes right now that are all basic licenses.
I tried adding a mirror to POM like this:
Code:
mirror: pdm_trixie_enterprise
        architectures amd64
        architectures all
        base-dir /var/lib/proxmox-offline-mirror/mirrors/
        ignore-errors false
        key-path /usr/share/keyrings/proxmox-release-trixie.gpg
        repository deb http://enterprise.proxmox.com/debian/pdm trixie pdm-enterprise
        sync true
        use-subscription pve
        verify true
I tried using the use-subscription pve but I get a 401 when trying to snapshot. How can I authenticate myself in POM to get access to the enterprise PDM repo?