Skip to content

Instantly share code, notes, and snippets.

View SparksD2145's full-sized avatar

Thomas Ibarra SparksD2145

View GitHub Profile
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" NerdTree
Plugin 'scrooloose/nerdtree'
@SparksD2145
SparksD2145 / ipxe_dnsmasq.conf
Created August 25, 2018 19:34
iPXE and dnsmasq special sauce!
# look for client architecture
dhcp-vendorclass=set:BIOS,PXEClient:Arch:00006
dhcp-vendorclass=set:UEFI,PXEClient:Arch:00007
# set tag ipxe if request comes from iPXE (iPXE user class)
dhcp-userclass=set:ipxe,iPXE
dhcp-match=set:ipxe,175 # alternative way, look for option 175
# determine if using default firmware
tag-if=set:DEFAULT_FIRMWARE, tag:!ipxe