Created
April 26, 2012 14:26
-
-
Save robinsmidsrod/2499935 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 netboot installer via iPXE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
#dhcp | |
echo Starting Ubuntu x64 installer for ${mac} | |
set base-url http://archive.ubuntu.com/ubuntu/dists/precise/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 | |
prompt --key 0x197e --timeout 2000 Press F12 to investigate || exit | |
shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment