Created
June 22, 2013 14:43
-
-
Save sturadnidge/5841130 to your computer and use it in GitHub Desktop.
ipxe boot script - despite several of these parameters being in the preseed.cfg file, they don't work unless you pass them in as kernel params. Not sure if that is a documentation bug or an actual bug.
This file contains hidden or 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 | |
echo | |
echo attempting to netboot with IP ${ip} | |
echo | |
set buildserver your.build.server.fqdn | |
set pxebase http://${buildserver}/path/to/bootfiles/dir | |
kernel ${pxebase}/linux preseed/url=http://${buildserver}/${uuid}/preseed.cfg debian-installer/locale=en_US.UTF- | |
8 keymap=us netcfg/get_hostname=${uuid} netcfg/get_domain=${domain} -- | |
initrd ${pxebase}/initrd.gz | |
boot || | |
echo | |
echo net boot failed, booting ipxe shell | |
echo | |
shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment