[pve-devel] [PATCH installer v3 0/3] properly filter out all installer-related kernel arguments

Christoph Heiss c.heiss at proxmox.com
Mon Nov 11 12:05:14 CET 2024


Friedrich reported that when installing using the auto-installer, the
kernel commandline does not get cleaned up properly.

History
=======

v2: https://lore.proxmox.com/pve-devel/20240821132307.1352643-1-c.heiss@proxmox.com/
v1: https://lists.proxmox.com/pipermail/pve-devel/2024-August/065070.html

Notable changes v2 -> v3:
  * rebased on latest master
  * added explicit test for preservation of `nomodeset` parameter

Notable changes v1 -> v2:
  * parse whole line by splitting and then filtering out individually
  * add some tests

Diffstat
========

Christoph Heiss (3):
  low level: config: filter out kernel cmdline on word boundaries
  low level: config: filter out all installer-related kernel arguments
  test: add test for kernel commandline parsing

 Proxmox/Install/Config.pm    | 11 ++++---
 test/Makefile                |  7 +++-
 test/parse-kernel-cmdline.pl | 62 ++++++++++++++++++++++++++++++++++++
 3 files changed, 75 insertions(+), 5 deletions(-)
 create mode 100755 test/parse-kernel-cmdline.pl

-- 
2.45.2





More information about the pve-devel mailing list