summaryrefslogblamecommitdiffstats
path: root/satellit_installer/includes/10-install_ipxe.inc
blob: d8c93265814b8588fb3bc858f084b7fc2703438f (plain) (tree)
1
2
3
4
5
6





                                                                                                                 

install_ipxe() {
	[ -z "$1" ] && perror "Call install_ipxe with target directory!"
	git clone --depth 1 git://git.ipxe.org/ipxe.git "$1" || perror "Cloning ipxe repo failed"
	wget -O "$1/pxelinux.0" "$HTTP_BASE/pxelinux.0" || perror "Could not download pxelinux 4 from $HTTP_BASE"
}