From: | "Nuno Antunes" <nuno.antunes@xxxxxxxxx> |
Date: | Wed, 13 Jun 2007 16:04:21 +0100 |
Is the attached script useful? Or even correct? It seems to be working on my system. It introduces some new rc.conf variables, here's an example:
vkernel="yes" vkernel_list="example"
vkernel_example_bin=/usr/obj/usr/src/sys/VKERNEL/kernel.debug vkernel_example_memsize="64m" vkernel_example_rootimg_list="/var/vkernel/example.01" vkernel_example_iface_list="auto:bridge0" vkernel_example_logfile="/var/log/vkernel/example.console" vkernel_example_flags="-U"
Some variables can take more that one parameter, namely: vkernel_list (list of vkernels to start) vkernel_example_rootimg_list (list of disk root images for the vkernel) vkernel_example_iface_list (list of network interfaces of the vkernel) vkernel_example_flags (additional flags)
Thanks, Nuno
Attachment:
vkernel
Description: Binary data