7 Either run the ``setup`` wizard again, or use the ``config medium add`` command.
8 For example, to define a new medium containing the
9 `proxmox-ve-bullseye-no-subscription` and `debian-bullseye` mirrors, run the
12 .. code-block:: console
14 proxmox-offline-mirror config medium add \
16 --mirrors proxmox-ve-bullseye-no-subscription \
17 --mirrors debian-bullseye \
20 --mountpoint /path/where/medium/is/mounted
25 To sync the local mirrors to a medium, the following command can be used:
27 .. code-block:: console
29 proxmox-offline-mirror medium sync --id pve-bullseye
31 This command will sync all mirrors linked with this medium to the medium's mountpoint, as well as
32 sync all offline keys for further processing by ``proxmox-apt-repo`` on the target system.
37 After syncing a medium, unmount it and make it accessible on the (offline)
38 target system. You can now either manually point apt at the synced snapshots,
39 or run ``proxmox-apt-repo setup`` to generate a sources.list.d snippet referecing
40 selected mirrors and snapshots. Don't forget to remove the snippet again after
43 To activate or update an offline subscription key, either use ``proxmox-apt-repo offline-key`` or
44 ``proxmox-apt-repo setup``.