From 470af1d60ec2c38dc394bc984bf5f2257a311aee Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Mon, 11 Nov 2024 12:05:16 +0100 Subject: [PATCH] low level: config: filter out all installer-related kernel arguments For one, include the auto-installer arguments, which weren't filtered out before. Secondly, include the aliases as introduced in [0]. [0] de7f779 ("unconfigured: accept more telling boot cmdline option names") Reported-by: Friedrich Weber Signed-off-by: Christoph Heiss --- Proxmox/Install/Config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Proxmox/Install/Config.pm b/Proxmox/Install/Config.pm index 4152a77..6260ade 100644 --- a/Proxmox/Install/Config.pm +++ b/Proxmox/Install/Config.pm @@ -45,7 +45,8 @@ my sub parse_kernel_cmdline { my @filtered = grep { $_ !~ m/^(BOOT_IMAGE|root|ramdisk_size|splash|vga)=\S+$/ && - $_ !~ m/^(ro|rw|quiet|proxdebug|proxtui)$/ + $_ !~ m/^(ro|rw|quiet)$/ && + $_ !~ m/^(prox(debug|tui|auto)|proxmox-\S+)$/ } split(/\s+/, $cmdline); $cfg->{target_cmdline} = join(' ', @filtered);