feat(hardening): install_cpu_microcode on PVE and PBS, 0.19.0 (NetOrk/netork#2838)
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 15s
driver / lowest (pull_request) Successful in 27s
driver / types (pull_request) Successful in 50s
driver / test (3.12) (pull_request) Successful in 1m10s
driver / test (3.13) (pull_request) Successful in 59s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 51s
CI / driver (pull_request) Successful in 1m33s
driver / publish (pull_request) Skipped

Both drivers mix in napalm-device-types' CpuMicrocodeMixin (4.53.0). A Proxmox
install enables no non-free-firmware, where intel-microcode and
amd64-microcode live: it is added to Debian's own sources, never Proxmox's.
_reload_package_index runs apt-get update over the exec path and waits for
it, as the API's apt/update only starts a task the install would race.
This commit is contained in:
Christian Manivong committed 2026-11-29 00:07:29 +01:00
1 parent 0598a183df
commit 7e300c740e
7 files changed
+95 -4

No files matched your search

+12
View File
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.19.0] - 2026-11-28
### Added
- `install_cpu_microcode()` on both drivers (napalm-device-types' `CpuMicrocodeMixin`, 4.53.0,
NetOrk/netork#2838): the CPU vendor's microcode on a node that runs on its own CPU. A Proxmox
install enables no `non-free-firmware`, where Debian keeps `intel-microcode` and
`amd64-microcode`: it is added to Debian's own sources (never to Proxmox's or another
vendor's), the index is loaded with `apt-get update` over the exec path -- waited for, unlike
the API's refresh task -- and the package installed. Refused on a node that runs virtualized
(a PBS in a VM): its host loads the microcode. The microcode loads at the next boot.
- The hardening reading carries `virtualization` and `cpu_vendor` (napalm-device-types 4.53.0).
## [0.18.0] - 2026-11-28
### Added