[Ovirt-devel] [PATCH] Add support for vendor hooks during ovirt-early start()
Perry Myers
pmyers at redhat.com
Mon Nov 16 20:55:13 UTC 2009
On 11/16/2009 02:21 PM, Ryan Harper wrote:
> Add a kernel parameter, vendor= which takes a path to a script
> embedded in the image. If this script is executable, we will then
> source it during ovirt-early start() after command line processing
> and before mounting of /config. We also call a post hook at the end of
> ovirt-early start().
>
> Also include a sample vendor script.
If you're using edit-livecd to embed a vendor specific script in the oVirt
ISO image, why wouldn't you just change the init process to call that
script instead of using a kernel cmdline parameter like this?
i.e. edit-livecd to add a new init script called vendor-foo to
/etc/init.d, then chkconfig that script on. Now during startup the script
will automatically execute.
I suppose maybe some information about the use case that is driving this
request might help to explain.
Perry
More information about the ovirt-devel
mailing list