danderson / netboot

Packages and utilities for network booting
Apache License 2.0
1.49k stars 181 forks source link

how to prevent pxe boot looping #134

Open wushuzh opened 2 years ago

wushuzh commented 2 years ago

How can I setup the tool to do pxe installation for only one time ?

My server boot order is PXE first, so after installation is done and on next reboot, it may fail into the pxe installation again. And this loop may go forever.

If there is some similiar setting like cobbler pxe_just_once

realtime-neil commented 2 years ago

It depends on the exact nature of your boot firmware and the "installation" in question. I've had good luck with a customized Debian installer that executes efibootmgr in a preseed/late_command script.