]> git.proxmox.com Git - pve-installer.git/commit
fix #4747: pass kernel cmdline parameters to target system
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 16 Nov 2023 15:00:38 +0000 (16:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 16 Nov 2023 15:29:20 +0000 (16:29 +0100)
commita02a78a865fc37f7bdea077a4421319b84c635c9
treeb5d2896c1b33ac178403b4d1e5a9207e19ffec57
parentc1279c82505b6a98b17c059fdbb9db6b49e5d021
fix #4747: pass kernel cmdline parameters to target system

Parameters needed for booting during installation are best preserved
in the target cmdline as well - e.g. if you need a particular
cmdline switch for your system to boot at all - not having to add it
for the first boot of the installed system and manually adding it to
the bootloader config is an improvement.

This additionally enables us to drop the console parameter handling
for serial consoles (it is just one of the parameters to pass along).

Finally it fixes the regular expressions for the installer settings we
read from the cmdline (swapsize, maxroot,...) which were broken if
added as last entry.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Proxmox/Install.pm
Proxmox/Install/Config.pm