[pve-devel] applied: [PATCH v2 manager] postinst: migrate/update APT auth config

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 14 10:57:01 CEST 2022


Am 14/09/2022 um 10:05 schrieb Fabian Grünbichler:
> missed when switching over to Proxmox::RS::Subscription, which stores
> the same info in the product-specific /etc/apt/auth.conf.d/pve.conf .
> 
> the top-level file might contain non-PVE-managed entries, so only remove
> entries matching "our" machine.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> 
> Notes:
>     v2:
>     - actually use final version of migrate_apt_auth_conf
>     - read -r
> 
>  debian/postinst | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
>

applied, thanks! fyi, similar to PMG I also transformed that file to four spaces only
indentation in a followup, plus an extra patch adding an early return to set_lvm_conf,
avoiding an extra indent level for most of the function body.





More information about the pve-devel mailing list