Bring config files mentioned in this article into cvs and point at them
rather than to an outside source.
This commit is contained in:
parent
f6c21a3cb0
commit
44f73048e9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17338
5 changed files with 255 additions and 6 deletions
en_US.ISO8859-1/articles/pxe
|
@ -80,8 +80,8 @@
|
|||
<procedure>
|
||||
<step>
|
||||
<para>Install DHCP: Install <filename role="package">net/isc-dhcp3</filename> you can use this config file
|
||||
<ulink url="http://people.FreeBSD.org/~alfred/pxe/dhcpd.conf">
|
||||
dhcpd.conf</ulink>, stick it in /usr/local/etc/</para>
|
||||
<ulink url="dhcpd.conf">
|
||||
<filename>dhcpd.conf</filename></ulink>, stick it in /usr/local/etc/</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -176,8 +176,7 @@
|
|||
<para>Make a special <filename>loader.rc</filename> to and install it
|
||||
in <filename>/usr/tftpboot/boot/loader.rc</filename> so that it
|
||||
does not prompt for the second disk, here is
|
||||
<ulink url="http://people.FreeBSD.org/~alfred/pxe/loader.rc">
|
||||
mine</ulink>.</para>
|
||||
<ulink url="loader.rc">mine</ulink>.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -197,8 +196,8 @@
|
|||
<step>
|
||||
<para>Make your sysinstall script <filename>install.cfg</filename>, you
|
||||
can use
|
||||
<ulink url="http://people.FreeBSD.org/~alfred/pxe/install.cfg">
|
||||
mine</ulink> as a template, but you must edit it.</para>
|
||||
<ulink url="install.cfg">mine</ulink>
|
||||
as a template, but you must edit it.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
21
en_US.ISO8859-1/articles/pxe/dhcpd.conf
Normal file
21
en_US.ISO8859-1/articles/pxe/dhcpd.conf
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
# $Wintelcom: src/freebsd/pxe/doc/dhcpd.conf,v 1.2 2000/09/24 09:18:14 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
option subnet-mask 255.255.255.0;
|
||||
option routers 10.8.253.254;
|
||||
filename "pxeboot";
|
||||
|
||||
option domain-name "google.com";
|
||||
option broadcast-address 10.8.253.255;
|
||||
option domain-name-servers 10.8.0.7;
|
||||
server-name "DHCPserver";
|
||||
server-identifier 10.8.253.201;
|
||||
|
||||
default-lease-time 7200;
|
||||
max-lease-time 7200;
|
||||
|
||||
subnet 10.8.253.0 netmask 255.255.255.0 {
|
||||
next-server 10.8.253.201;
|
||||
range 10.8.253.29 10.8.253.200;
|
||||
}
|
209
en_US.ISO8859-1/articles/pxe/install.cfg
Normal file
209
en_US.ISO8859-1/articles/pxe/install.cfg
Normal file
|
@ -0,0 +1,209 @@
|
|||
|
||||
# $Wintelcom: src/freebsd/pxe/doc/install.cfg,v 1.1 2000/07/14 12:42:05 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
# This is the installation configuration file for our rackmounted FreeBSD
|
||||
# cluster machines
|
||||
|
||||
# Turn on extra debugging.
|
||||
debug=YES
|
||||
|
||||
# Ok, this ought to turn off ALL prompting, don't complain to me that you
|
||||
# lost a machine because you netbooted it on the same subnet as this
|
||||
# box
|
||||
nonInteractive=YES
|
||||
noWarn=YES
|
||||
tryDHCP=YES
|
||||
|
||||
################################
|
||||
# My host specific data
|
||||
hostname=booter
|
||||
domainname=mydomain.com
|
||||
# DHCP does this for us
|
||||
#nameserver=10.0.0.1
|
||||
#defaultrouter=10.0.0.1
|
||||
#ipaddr=DHCP
|
||||
#netmask=255.255.255.0
|
||||
################################
|
||||
|
||||
################################
|
||||
# Which installation device to use
|
||||
nfs=x.x.x.x:/usr/releng4
|
||||
netDev=fxp0
|
||||
tryDHCP=YES
|
||||
mediaSetNFS
|
||||
################################
|
||||
|
||||
################################
|
||||
# Select which distributions we want.
|
||||
dists= bin doc games manpages catpages proflibs dict info des compat1x compat20 compat21 compat22 compat3x crypto
|
||||
distSetCustom
|
||||
################################
|
||||
|
||||
################################
|
||||
# Now set the parameters for the partition editor on sd0.
|
||||
disk=ad0
|
||||
partition=all
|
||||
bootManager=standard
|
||||
diskPartitionEditor
|
||||
#diskPartitionWrite
|
||||
################################
|
||||
|
||||
################################
|
||||
# All sizes are expressed in 512 byte blocks!
|
||||
#
|
||||
# A 96MB root partition, followed by a 0.5G swap partition, followed by
|
||||
# a 1G /var, and a /usr using all the remaining space on the disk
|
||||
#
|
||||
ad0s1-1=ufs 1999999 /
|
||||
ad0s1-2=swap 6485760 none
|
||||
ad0s1-3=ufs 2097152 /var
|
||||
ad0s1-4=ufs 0 /usr
|
||||
# Let's do it!
|
||||
diskLabelEditor
|
||||
#diskLabelCommit
|
||||
|
||||
# OK, everything is set. Do it!
|
||||
installCommit
|
||||
|
||||
package=XFree86-3.3.6
|
||||
packageAdd
|
||||
|
||||
#package=XFree86-aoutlibs-3.3.3
|
||||
#packageAdd
|
||||
|
||||
package=XFree86-contrib-3.3.6
|
||||
packageAdd
|
||||
|
||||
package=arpwatch-2.1.a4
|
||||
packageAdd
|
||||
|
||||
package=bash-2.04
|
||||
packageAdd
|
||||
|
||||
package=bison-1.28
|
||||
packageAdd
|
||||
|
||||
package=bzip2-1.0.0
|
||||
packageAdd
|
||||
|
||||
package=ctags-3.5.2
|
||||
packageAdd
|
||||
|
||||
package=dvips2ascii-1.3
|
||||
packageAdd
|
||||
|
||||
package=electricfence-2.0.5
|
||||
packageAdd
|
||||
|
||||
package=emacs-20.6
|
||||
packageAdd
|
||||
|
||||
package=enscript-letter-1.6.1
|
||||
packageAdd
|
||||
|
||||
package=fping-1.20
|
||||
packageAdd
|
||||
|
||||
package=gawk-3.0.4
|
||||
packageAdd
|
||||
|
||||
package=gdbm-1.8.0
|
||||
packageAdd
|
||||
|
||||
package=gettext-0.10.35
|
||||
packageAdd
|
||||
|
||||
package=gmake-3.79
|
||||
packageAdd
|
||||
|
||||
package=ispell-3.1.20c
|
||||
packageAdd
|
||||
|
||||
package=less-352
|
||||
packageAdd
|
||||
|
||||
package=libgnugetopt-1.1
|
||||
packageAdd
|
||||
|
||||
package=libtool-1.3.4
|
||||
packageAdd
|
||||
|
||||
package=linux_base-6.1
|
||||
packageAdd
|
||||
|
||||
package=linux_devtools-6.1
|
||||
packageAdd
|
||||
|
||||
package=lmbench-1.1
|
||||
packageAdd
|
||||
|
||||
package=m4-1.4
|
||||
packageAdd
|
||||
|
||||
package=mprof-3.0
|
||||
packageAdd
|
||||
|
||||
package=mtr-0.42
|
||||
packageAdd
|
||||
|
||||
package=nmap-2.53
|
||||
packageAdd
|
||||
|
||||
package=pine-4.21
|
||||
packageAdd
|
||||
|
||||
package=portscanner-1.0
|
||||
packageAdd
|
||||
|
||||
package=portsentry-1.0
|
||||
packageAdd
|
||||
|
||||
package=python-1.5.2
|
||||
packageAdd
|
||||
|
||||
package=rpm-2.5.6
|
||||
packageAdd
|
||||
|
||||
package=rsaref-2.0
|
||||
packageAdd
|
||||
|
||||
package=rsync-2.4.3
|
||||
packageAdd
|
||||
|
||||
package=screen-3.9.5
|
||||
packageAdd
|
||||
|
||||
package=stlport-3.01
|
||||
packageAdd
|
||||
|
||||
package=tcsh-6.09.00
|
||||
packageAdd
|
||||
|
||||
package=tk-8.0.5
|
||||
packageAdd
|
||||
|
||||
package=vim-lite-5.6.70
|
||||
packageAdd
|
||||
|
||||
package=wget-1.5.3
|
||||
packageAdd
|
||||
|
||||
package=word2x-0.005
|
||||
packageAdd
|
||||
|
||||
package=zip-2.3
|
||||
packageAdd
|
||||
|
||||
package=zsh-3.0.7
|
||||
packageAdd
|
||||
|
||||
#
|
||||
# this last package is special. It is used to configure the machine.
|
||||
# it installs several files (like /root/.rhosts) an its installation
|
||||
# script tweaks several options in /etc/rc.conf
|
||||
#
|
||||
package=mypkg-1.0
|
||||
packageAdd
|
||||
|
||||
shutdown
|
11
en_US.ISO8859-1/articles/pxe/loader.rc
Normal file
11
en_US.ISO8859-1/articles/pxe/loader.rc
Normal file
|
@ -0,0 +1,11 @@
|
|||
\ $Wintelcom: src/freebsd/pxe/doc/loader.rc,v 1.1 2000/07/15 07:20:37 bright Exp $
|
||||
\ $FreeBSD$
|
||||
echo Loading Kernel...
|
||||
load /kernel
|
||||
echo Loading mfsroot...
|
||||
load -t mfs_root /mfsroot
|
||||
echo booting...
|
||||
echo \007\007
|
||||
echo initializing h0h0magic...
|
||||
set vfs.root.mountfrom="ufs:/dev/md0c"
|
||||
boot
|
9
en_US.ISO8859-1/articles/pxe/pkgmaker.sh
Normal file
9
en_US.ISO8859-1/articles/pxe/pkgmaker.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $Wintelcom: src/freebsd/pxe/doc/pkgmaker.sh,v 1.1 2000/07/14 12:42:05 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PKGNAME=${1}
|
||||
PKGDIR=`pwd`/${PKGNAME}/
|
||||
|
||||
pkg_create -i ${PKGDIR}pre -I ${PKGDIR}post -f ${PKGDIR}PLIST -s ${PKGDIR} -p / -d ${PKGDIR}DESCR -c ${PKGDIR}COMMENT ${PKGNAME}.tgz
|
Loading…
Reference in a new issue