Josh Endries wrote:

Here is my install.cfg:

debug=YES
#nonInteractive=YES
#noWarn=YES

disk=ad0
partition=all
bootManager=standard
diskPartitionEditor
#diskPartitionWrite

ad0s1-2=swap 4194304 none
ad0s1-1=ufs 524288 /
ad0s1-3=ufs 19531250 /home 1
ad0s1-4=ufs 2097152 /tmp 1
ad0s1-5=ufs 19531250 /usr 1
ad0s1-6=ufs 0 /var 1
diskLabelEditor
diskLabelCommit

hostname=test
netDev=vr0
nfs=192.168.0.3:/var/export/6.0-RELEASE/
tryDHCP=YES
mediaSetNFS

#nameserver=192.168.0.7

dists=base
distSetCustom

installCommit

...
command=cp /dist/pkgtools.conf /usr/local/etc
system
command=sed -i '' 's/md5/blf/' /etc/login.conf
system
command=cap_mkdb /etc/login.conf
system
command=pkg_add /dist/packages/All/my_base.tgz
system

shutdown

have you considered

command=shutdown
system

? it may not be the nicest way to do things though.

After sysinstall's "shutdown" and reboot, it comments out these
lines (using "#REMOVED: %s"). Converting them to something like this
in install.cfg didn't help, regardless of quotes:

command=echo sshd_enable="YES" >> /etc/rc.conf
system

two things:

try this before shutdown:

command=cp /etc/rc.conf /tmp/rc.conf
system

and also try to echo like this:

command=echo 'sshd_enable="YES"' >> /etc/rc.conf

I don't know how sysinstall treats quotes.

Well, honestly, I don't _know_ the answer to your question, but I hope this helps.

Cheers, Erik

--
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
_______________________________________________
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