Make a custom OpenBSD ISO
Here's the code for making your custom OpenBSD install ISO:
#!/bin/bash
## -- Making a bootable OpenBSD CD
## mkiso.sh
#
arch="i386" # Architecture
vers="4.3" # OS version
publ="Strykar [strykar@hackerzlair.org]" #Publisher
mkisofs=`which mkisofs`
#
echo "Readying the environment.."
mkdir -p /tmp/OpenBSD/$vers/$arch
cd /tmp/OpenBSD/$vers/$arch
#
echo "Getting the release files.."
wget --passive-ftp --reject *iso ftp://ftp3.usa.openbsd.org/pub/OpenBSD/$vers/$arch/*
#
#
echo "Building the ISO"
cd /tmp/OpenBSD
#
$mkisofs \
-no-iso-translate \
-R -T \
-allow-leading-dots \
-l -d -D -N -v \
-V "OpenBSD${vers}" \
-A "OpenBSD${arch}" \
-p "${publ}" \
-publisher "${publ}" \
-b $vers/$arch/cdbr -no-emul-boot \
-c $vers/$arch/boot.catalog \
-o /var/tmp/OpenBSD_$vers.$arch.iso \
/tmp/OpenBSD/