mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-04-28 14:46:25 +00:00
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 <f.weber@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
46bdcbf5a1
commit
470af1d60e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user