feat(apt): Add non-free-firmware component to all repos
We're doing this because at the end of the Proxmox VE 8 lifecycle in August of 2025 the pve8to9 migration check script indicated if would be potentially beneficial to install the amd64-microcode package for microcode updates to our processor. We agree which is why we need the non-free-firmware component to be able to install amd64-microcode.
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
- name: 'In ''/etc/apt/sources.list'' enable non-free component in all Debian-native repos'
|
- name: 'In ''/etc/apt/sources.list'' enable non-free and non-free-firmware components in all Debian-native repos'
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: '/etc/apt/sources.list'
|
path: '/etc/apt/sources.list'
|
||||||
regexp: '^(.*?)( main contrib(?! non-free))'
|
regexp: '^(.*?)( main contrib(?! non-free non-free-firmware))'
|
||||||
replace: '\g<1>\g<2> non-free'
|
replace: '\g<1>\g<2> non-free non-free-firmware'
|
||||||
notify:
|
notify:
|
||||||
- 'apt-get update'
|
- 'apt-get update'
|
||||||
|
Reference in New Issue
Block a user