[pve-devel] [PATCH installer] auto: add some error context when loading the first-boot executable
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Apr 8 11:23:29 CEST 2025
Am 08.04.25 um 11:06 schrieb Christoph Heiss:
> @@ -47,7 +47,9 @@ fn setup_first_boot_executable(first_boot: &FirstBootHookInfo) -> Result<()> {
> }
> }
> FirstBootHookSourceMode::FromIso => {
> - Some(fs::read(format!("/cdrom/{FIRST_BOOT_EXEC_NAME}"))?)
> + Some(fs::read(format!("/cdrom/{FIRST_BOOT_EXEC_NAME}")).context(
> + "failed loading first-boot executable from ISO (was --on-first-boot specified?)",
Definitively better than the status quo, but as user I would then ask
myself how I can pass that flag to the installer, so maybe word it
something like:
"failed loading first-boot executable from ISO (was ISO prepared with --on-first-boot specified?"
Or is this caught already earlier?
More information about the pve-devel
mailing list