Debian/ImagingServer

From Servfire
Revision as of 04:52, 27 December 2012 by Hell Fire (Talk | contribs)

Jump to: navigation, search

Work in progress

Base Installation

apt-get install tftpd-hpa syslinux initramfs-tools nfs-kernel-server

mkdir -p /srv/tftp

cp /boot/*-$(uname -r) /usr/lib/syslinux/{pxelinux.0,menu.c32} /srv/tftp/

mkdir -p /srv/nfs/imageclient

echo '/srv/nfs/imageclient *(ro,sync,no_subtree_check) >> /etc/exports

exportfs -av

/srv/tftp/pxelinux.cfg/default

UI menu.c32
DEFAULT 0
TIMEOUT 5
PROMPT 1

LABEL local
MENU LABEL Boot HD
LOCALBOOT 0

LABEL imageclient
MENU LABEL Imaging
KERNEL vmlinuz-++KERNEL_VERSION++
APPEND initrd=initramfs-++KERNEL_VERSION++