[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting?
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting? |
Date: |
Tue, 19 Apr 2011 10:16:53 +0100 |
On Mon, Apr 18, 2011 at 5:10 PM, Alex Williamson
<address@hidden> wrote:
> On Mon, 2011-04-18 at 10:45 +0100, Stefan Hajnoczi wrote:
>> On Sat, Apr 16, 2011 at 8:41 PM, Michael Tokarev <address@hidden> wrote:
>> > I'm playing with iPXE ROM images again, and see
>> > iPXE prompts two times during bootup. Once like
>> > this: "Press Ctrl-B to configure", at early stage,
>> > even if -boot n is not selected. And second time
>> > when it actually tries to boot, like "Press Ctrl-B
>> > for the command line".
>> >
>> > The same behavor happens with old Etherboot, with
>> > the exception that during init stage it tries to
>> > boot too but fails.
>> >
>> > Any idea how to get rid of that?
>>
>> IIRC you need to #define BANNER_TIMEOUT 0 in src/config/general.h.
>
> I think src/local/config/general.h is the preferred location, which is
> what the script in my tree does and includes pre-built ipxe images:
Yeah, using the top-level config is just my bad habit. The point of
local/ is to prevent conflicts if you update the code and to make git
ignore your local changes.
Stefan