Skip to content

Instantly share code, notes, and snippets.

@gmasse
Last active February 22, 2022 16:00
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gmasse/4b0c34be3d797cd729d2 to your computer and use it in GitHub Desktop.
Save gmasse/4b0c34be3d797cd729d2 to your computer and use it in GitHub Desktop.
OVH custom iPXE boot (dedicated server)
@savingschampion
Copy link

This doesn't appear to work on Kimsufi, you appear to be rebooted into the rescue environment, without a new password sent to your inbox.

@mcuadros
Copy link

For me works as a charm I suggest set the SSH key on it:

#!ipxe

set base-url http://alpha.release.core-os.net/amd64-usr/current
kernel ${base-url}/coreos_production_pxe.vmlinuz coreos.autologin=tty1 sshkey="ssh-rsa AAAA....."
initrd ${base-url}/coreos_production_pxe_image.cpio.gz
boot

@streamnsight
Copy link

Thanks for the gist. That helped me a lot to get started.

Do you know how to use a CA cert to download the cloud-config from a TLS secured server? Is this supported on OVH iPXE boot?

@back2root
Copy link

Won't work for me on a SyS Server. Created an ipxeScript and got a bootid. However, if I try to activate the bootid for the Server the API just returns "null" and does not change the boot. (I can also choose the iPXE scripts within manager but same behavior here - just won't set it.)
I have no clue what’s going wrong and it seems that SyS Support unfortunately does not work on the ticket which I opened days ago. Can somebody here help?

HTTP/1.1 200 OK Access-control-allow-origin: * Cache-control: no-cache Content-type: application/json; charset=utf-8 Date: Sun, 22 Nov 2015 17:02:53 GMT X-ovh-queryid: FR.ws-5.5651f53d.15871.2548 null

@bassu
Copy link

bassu commented Jan 20, 2016

Everything works well except the iPXE server seems to be under severe bandwidth limitation.
It takes three minutes to download a 270 MBs live kernel image and that's from OVH's own network.

@gajus
Copy link

gajus commented Jun 25, 2016

@bassu

Everything works well except the iPXE server seems to be under severe bandwidth limitation.

Have you discovered the reason for this?

@stuwil
Copy link

stuwil commented Jul 25, 2016

Having some trouble with this on SYS... created a couple of scripts in step 1 and confirmed they existed via GET request, but step 2 returns an empty array.

@bassu
Copy link

bassu commented Jul 30, 2016

Have you discovered the reason for this?

@gajus: Hopping through various OVH NOC technicians (yeah, yeah, you know what I mean 😜 ), they told me that the restriction is intentional and there's no way you can workaround it because several thousands of machines are booting from iPXE servers every second and UNDI drivers behind PXE are very slow 😱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment