Skip to content

Instantly share code, notes, and snippets.

@breyer
breyer / ubuntu-amd64-installer.ipxe
Created May 21, 2017 11:52 — forked from robinsmidsrod/ubuntu-amd64-installer.ipxe
Boot Ubuntu x64 installer directly from the network. Only iPXE needed
#!ipxe
dhcp
echo Starting Ubuntu x64 installer for ${hostname}
set base-url http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64
kernel ${base-url}/linux
initrd ${base-url}/initrd.gz
#imgargs linux auto=true url=http://yourserver/some/path/preseed.cfg
boot ||
# If everything failed, give the user some options
echo Boot from ${base-url} failed
@breyer
breyer / leaseweb custom iso image
Last active October 10, 2016 09:06 — forked from johnko/gist:66515a2db2aa22aa51bd
How to iPXE boot from http iso on Leaseweb virtual cloud server
Install custom ISO image at leaseweb via iPXE boot in console mode.
Here: Installing freebsd-11.0-RC3
1. press CTRL-B
If your custom iso is not mounting, and your console is at an iPXE shell, you can:
```
dhcp
initrd http://www.dayofdefeat.org/freebsd/mfsbsd-11.0-RELEASE-amd64.iso