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

image

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 http://boot.netboot.xyz/menu.ipxe”

Full examplehttps://gist.github.com/moul/e8a8853964d229d2db102d2f357ab5e5

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

Code on GitHubhttps://github.com/moul/scaleway-ipxe/