Debian/ImagingServer

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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) /srv/tftp/

ln -s /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/default

UI menu.c32
DEFAULT 0
PROMPT 30

LABEL local
MENU LABEL Boot HD
LOCALBOOT 0

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