[Ovirt-devel] [PATCH node] Creates a standalone mode entry point script.
bkearney at redhat.com
Thu Nov 6 13:53:47 UTC 2008
Daniel P. Berrange wrote:
> On Wed, Nov 05, 2008 at 04:55:54PM -0500, Darryl Pierce wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> Bryan Kearney wrote:
>>> Darryl Pierce wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>> Bryan Kearney wrote:
>>>>> I get this error when trying to run this:
>>>> Hnmmm, is that due to hal not being started?
>>>> We should have standalone mode script run after hal's started.
>>> So, haldaemon starts at 26, and network starts at 10. Can you probe the
>>> nics w/o hal-device?
>> Sure, we could use Awk to scrape through the output from /sbin/ifconfig.
> No, this is wrong. Hardware enumeration is what HAL is for, you should
> not try to re-invent this, because you will do a worse job than HAL.
> You have a core boot strapping issue here. The first time boot you can
> just let it automatically go all the way through init process without
> networking, and then run your configuration script at S99. This lets
> you use HAL (and later libvirt) to enumeration devices. When this script
> is complete, either just ifup the interfaces you configure, or restart
> the network service script, or just do a reboot. For all subseequent
> boots the config will be there already, so there's no ordering issue.
Attahced id a modified patch. It sets the startup to 99, and the
shutdown to 01 and it cleans up the menu. Given that, it worked well for
me. Couple of UI comments:
1) It would be nice for the backspace to work.. but in console that may
not be possible.
2) Can you hide the output of augtool? That is a detail I do not need to
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ovirt-devel