rdp# pwd
/usr/tftpboot/network-install/tftpboot
rdp# ls
chain.c32 initrd-centos4.5.img mboot.c32 pxelinux.0 vmlinuz-centos5
debian-installer initrd-centos5.img memdisk pxelinux.cfg
freebsd initrd-freebsd6.2 menu.c32 vmlinuz-centos4.5
rdp#
rdp# more /usr/local/etc/dhcpd.conf
allow booting;
allow bootp;
ddns-update-style ad-hoc;
option domain-name "rdp.biznesshosting.com";
option nis-domain " rdp.biznesshosting.com";
option domain-name-servers 4.2.2.1;
option option-128 code 128 = string;
option option-129 code 129 = text;
default-lease-time 600;
max-lease-time 7200;
##GH##ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.224 192.168.0.254;
option host-name "imaged";
option domain-name " biznesshosting.com";
option broadcast-address 192.168.0.255;
option routers 192.168.0.223;
option subnet-mask 255.255.255.0;
## option ntp-servers 192.168.0.175;
## option netbios-name-servers 192.168.0.175 ;
### kickstart test
### filename "/data/network-install/kickstart/fc2-ks.cfg";
### kickstart test
### PXE test
filename "/pxelinux.0";
next-server 192.168.0.223;
host blah {
filename "/freebsd/pxeboot";
next-server 192.168.0.223;
hardware ethernet 00:1a:4d:24:6d:4f;
option root-path "/usr/tftpboot/network-install/tftpboot";
}
### PXE test
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
# You can also assign specific IP addresses based on the clients'
# ethernet MAC address as follows (Host's name is "laser-printer":
# host laser-printer {
# hardware ethernet 08:00:2b:4c:59:23;
# fixed-address 192.168.0.223;
# }
}
rdp# more /etc/exports
#The following examples export /usr to 3 machines named after ducks,
#/usr/src and /usr/ports read-only to machines named after trouble makers
#/home and all directories under it to machines named after dead rock stars
#and, /a to a network of privileged machines allowed to write on it as root.
#/usr huey louie dewie
#/usr/src /usr/obj -ro calvin hobbes
#/home -alldirs janice jimmy frank
#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0
#
# You should replace these lines with your actual exported filesystems.
# Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one.
/usr/tftpboot/network-install -alldirs -maproot=root -network 192.168.0.0 -mask 255.255.255.0
rdp#