Project

General

Profile

Submit #1173 » hammer.sh.patch

rumcic, 12/07/2008 11:48 PM

View differences:

share/examples/rconfig/hammer.sh
#
cpdup -o / /mnt
cpdup -o /var /mnt/var
cpdup -o /usr /mnt/usr
cpdup -o /dev /mnt/dev
cpdup -i0 /etc.hdd /mnt/etc
......
#
cat >> /mnt/etc/sysctl.conf << EOF
#net.inet.ip.portrange.first=4000
kern.bootfile=/boot/kernel
EOF
# adjust work directory for pkgsrc in case we want
......
ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
endif
# Misc cleanups
rm -R /mnt/README* /mnt/autorun* /mnt/index.html /mnt/dflybsd.ico
rm /mnt/boot.catalog
# take CD out and reboot
#
(2-2/2)