On Wed, Sep 20, 2006 at 11:04:13PM -0300, Gustavo Rios wrote:
> Hi folks,
>
> i am preparing a boot server running openbsd for openbsd diskless
> clients. I am in doubt on how to fake a installation procedure on a
> directory tree, for instance: /export/client-[0-a].
>
> I would like to install openbsd on each of the diskless client root
> directory.
> I tryied untar the tarballs, but the directory installation and its
> roofs where not the same a real installation. How can it be done?
I'm not an expert, but I'd try hacking /usr/src/miniroot/install.sh. If
you cut out the disk stuff (or just provide a /etc/fstab before starting
the install), you should end up with something that does what you want.
Of course, you'll need to copy the install disk, chroot, and start the
install.
I'm not aware of a more automated procedure, sadly. Of course, you could
install it on a spare box/qemu instance and use tar or similar to copy
everything.
Joachim