How to boot using and iPXE on dedicated servers and VPS (works on Scaleway)


If like me you are used to reboot, press ctrl+b and copy-paste iPXE commands on your dedicated or cloud servers, you should be happy to use the mini tool I wrote for Scaleway.

In less than 50 lines of code, the program will

  1. (re)boot your server

  2. attach to the server serial

  3. automatically press ctrl+b

  4. run dhcp

  5. run user lines, for example “chain –autofree”

Full example

The script is quite simple and easy to hack for your specific needs

Code on GitHub