Project

General

Profile

Actions

Bug #697

closed

vkernel rc.d start/stop script

Added by nant almost 17 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi!

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)

It could go nicely with Chris host initiated vkernel shutdown patch. :-)

Thanks,
Nuno


Files

vkernel (1.96 KB) vkernel nant, 06/13/2007 03:09 PM
rc.d.vkernel.patch (5.64 KB) rc.d.vkernel.patch nant, 06/13/2007 05:23 PM
rc.d.vkernel2.patch (6 KB) rc.d.vkernel2.patch nant, 06/20/2007 10:49 PM
unnamed (1.93 KB) unnamed nant, 08/26/2009 12:08 PM
Actions

Also available in: Atom PDF