Proxmox Offline Mirror - Example Working Slimmed Down Config?

Sep 20, 2024
2
1
3
Hello Proxmox Community,

I've been working on trying to trim down the offline mirror's package selection to make a smaller Debian and PVE repo to transfer to an isolated net. I haven't had much luck - it's still pulling in many unneeded dependencies.

Does someone have a list that only pulls down the packages required by a PVE install? I have no other Debian machines in that isolated environment that would need other packages.

The only non-PVE package I would need is the freeipa-client, but I will try and work out the dependencies for that independently once I have a basis of what would be a minimal repo. :cool:

My current proxmox-offline-mirror.cfg:
Code:
mirror: debian_bookworm_main
        architectures amd64
        architectures all
        base-dir /mnt/nfs/deb-repos-scratch
        ignore-errors false
        key-path /usr/share/keyrings/debian-archive-bookworm-automatic.gpg
        repository deb http://deb.debian.org/debian bookworm main contrib non-free
        sync false
        verify true
        skip-packages 'linux-image-*'
        skip-sections debug
        skip-sections education
        skip-sections electronics
        skip-sections games
        skip-sections hamradio
        skip-sections haskel
        skip-sections introspection
        skip-sections lisp
        skip-sections mathematics
        skip-sections golang
        skip-sections interpreters
        skip-sections ocaml
        skip-sections science
        skip-sections tex
        skip-sections video
        skip-sections zope

mirror: pve_bookworm_no_subscription
        architectures amd64
        architectures all
        base-dir /mnt/nfs/deb-repos-scratch
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
        sync false
        verify true

mirror: debian_bookworm_updates
        architectures amd64
        architectures all
        base-dir /mnt/nfs/deb-repos-scratch
        ignore-errors false
        key-path /usr/share/keyrings/debian-archive-bookworm-automatic.gpg
        repository deb http://deb.debian.org/debian bookworm-updates main contrib
        sync false
        verify true
        skip-sections debug
        skip-sections debian-installer
        skip-sections lib-devel
        
mirror: debian_bookworm_security
        architectures amd64
        architectures all
        base-dir /mnt/nfs/deb-repos-scratch
        ignore-errors false
        key-path /usr/share/keyrings/debian-archive-bookworm-security-automatic.gpg
        repository deb http://deb.debian.org/debian-security bookworm-security main contrib
        sync false
        verify true

mirror: hpe_proliant_deb
        architectures amd64
        architectures all
        base-dir /mnt/nfs/deb-repos-scratch
        ignore-errors false
        repository deb http://downloads.linux.hpe.com/SDR/repo/mcp/ bookworm/current non-free
        sync false
        key-path /etc/apt/trusted.gpg
        verify false
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!