ipxe/boot.ipxe.cfg

25 lines
621 B
INI

#!ipxe
# Technolog Deployment Vars/Config
### Core Config ###
# Deployment Server IP (TFTP, HTTP must be run on here)
# set deploysvr x.x.x.x
set deploysvr 10.10.0.6
# TFTP Server Path
# This script will check if the PC is x64 or x86 and set path accordingly.
cpuid --ext 29 && set arch x64 || set arch x86
cpuid --ext 29 && set archl amd64 || set archl i386
set tftp-path tftp://${deploysvr}/Boot\${arch}
set tftp-path-efi tftp://${deploysvr}/Boot\${arch}uefi
# HTTP Server Path
set http-path http://${deploysvr}/
# Platform
# BIOS or UEFI, that is the question.
# This is stupid - "platform" exists. Using that.