I have modified the freebsd 6.2 release cd1 iso image to allow me to deploy
freebsd automatically. The cd works fine, it boots up automatically
partitions the disk  and start installing my selected distributions. The
problem is I want it to install a custom package file after install. I have
added the package to the packages/all directory of the cd however, I am
unsure how to modify the INDEX file in the packages directory. Any help
would be appreciated.

None of the packages at the end of the file install. The only package that
is on cd1 by default is the perl5.8.8 file which installs fine, but when it
gets to the next file it says Please insert disc 0, or package not found.

Even though I have already copied all of these packages to the packages/all
directory.
install.cfg contents


# 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=no

################################
# My host specific data
hostname=PROTOTYPE
domainname=EXILETECHNOLOGIES.NET
nameserver=10.0.0.3
defaultrouter=10.0.0.254
ipaddr=10.0.0.250
netmask=255.255.255.0
################################

################################
# Which installation device to use
mediaSetCDROM
################################

################################
# Select which distributions we want.
dists= base kernels GENERIC bin doc manpages catpages info compat1x compat20
compat21 compat22 compat3x
distSetCustom

################################

################################
# Now set the parameters for the partition editor on sd0.
disk=ad0
partition=all
bootManager=standard
diskPartitionEditor
################################

################################
# All sizes are expressed in 512 byte blocks!
#
# A 512MB root partition, followed by a 0.15G swap partition, followed by
# a 512G /var, and a /usr using all the remaining space on the disk
#
ad0s1-1=ufs  1048576 /
ad0s1-2=swap 307200 none
ad0s1-3=ufs  2516582 /var
ad0s1-4=ufs  1048576 /tmp
ad0s1-5=ufs 0 /usr
# Let's do it!
diskLabelEditor
#diskLabelCommit

# OK, everything is set.  Do it!
installCommit

package=perl-5.8.8
packageAdd

package=squid-2.6.3
packageAdd

package=squidGuard-1.2.0_1
packageAdd

package=imake-6.9.0
packageAdd

package=p5-gettext-1.05_1
packageAdd

package=help2man-1.36.4_1
packageAdd

package=autoconf-2.59_2
packageAdd

package=apache-2.2.3
packageAdd

package=php5-5.1.6_3
packageAdd

package=php5-bz2-5.1.6_3
packageAdd

package=php5-ctype-5.1.6_3
packageAdd

package=php5-dom-5.1.6_3
packageAdd

package=php5-iconv-5.1.6_3
packageAdd

package=php5-mysql-5.1.6_3
packageAdd

package=php5-pcre-5.1.6_3
packageAdd

package=php5-zlib-5.1.6_3
packageAdd

package=pecl-PDO-1.0.3
packageAdd

package=php5-posix-5.1.6_3
packageAdd

package=php5-session-5.1.6_3
packageAdd

package=php5-simplexml-5.1.6_3
packageAdd

package=net-snmp-5.2.3_3
packageAdd

package=php5-snmp-5.1.6_3
packageAdd

package=php5-sockets-5.1.6_3
packageAdd

package=php5-sqlite-5.1.6_3
packageAdd

package=php5-tokenizer-5.1.6_3
packageAdd

package=php5-xml-5.1.6_3
packageAdd

package=php5-xmlreader-5.1.6_3
packageAdd

package=php5-xmlwriter-5.1.6_3
packageAdd

package=php5-extensions-1.0
packageAdd

package=phpSysInfo-2.5.1
packageAdd

#
# this last package is special.  It is used to configure the machine.
# it installs several files (like /root/.rhosts) and its installation
# script tweaks several options in /etc/rc.conf
#
package=exile-1.0
packageAdd

shutdown









Any help would be greatly appreciated.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to