Configuration Files

The Proxmox Offline Mirror configuration file is stored at /etc/proxmox-offline-mirror.cfg by default. Its location can be overriden for any given command using the --config parameter.

Note that you can use the --config <file> switch on most commands or the PROXMOX_OFFLINE_MIRROR_CONFIG environment variable to override the default config location.

proxmox-offline-mirror.cfg

Options

Section type 'subscription': Subscription key used for accessing enterprise repositories and for offline subscription activation/renewal.

Required properties:

server-id<string>

Server ID.

Optional properties:

description<string>

Description, e.g. which system this key is deployed on

info<string>

base64 encoded subscription info - update with 'refresh' command.

Section type 'mirror': Configuration entry for a mirrored repository.

Required properties:

architectures<string>

List of architectures that should be mirrored. Can be specified more than once.

base-dir<string>

Path to directory containg mirrored repository pool. Can be shared by multiple mirrors.

key-path<string>

Path to public key file for verifying repository integrity.

repository<string>

Single repository definition in sources.list format.

sync<boolean>

Whether to write new files using FSYNC.

verify<boolean>

Whether to verify existing files or assume they are valid (IO-intensive).

Optional properties:

ignore-errors<boolean>   (default=false)

Whether to downgrade download errors to warnings

use-subscriptionpve|pbs|pmg|pom

Product type

skip-packages<string>

Packages which should be skipped, supports globbing Can be specified more than once.

skip-sections<string>

Sections which should be skipped Can be specified more than once.

Section type 'medium': Configuration entry for an external medium.

Required properties:

mirrors<string>

List of [MirrorConfig] IDs which should be synced to medium. Can be specified more than once.

mountpoint<string>

Mountpoint where medium is available on mirroring system.

sync<boolean>

Whether to write new files using FSYNC.

verify<boolean>

Whether to verify existing files or assume they are valid (IO-intensive).