On Tue, Dec 04, 2018 at 01:19:46PM +0100, Claudio Jeker wrote:
> I want to be able to build vmd images more or less automatically.
> This is why I added 'vmctl wait' and this here is the next step.
> It allows to boot bsd.rd and pass the needed info to the kernel that the
> system thinks it was PXE booted and so the installer will start an
> auto_install automatically.
> 
> In short you can do now:
>     vmctl create disk.img -s 10G
>     vmctl start "installer" -Lc -B net -b ./bsd.rd -d disk.img
> 
> This will boot the installer which will then fetch install.conf from your
> host. For this to work I adjusted the DHCP code to pass a bootfile of
> auto_install in the lease (currently hardcoded). After that it is just a
> regular network autoinstall
> 
> I decided to add a -B flag which could be extended to include things like
> net, disk, cdrom and is therefor similar to qemu -boot option. Ideally vmd
> would pass this flag also to SeaBIOS (I left this out for somebody else to
> tackle). Especially once SeaBIOS support PXE booting it would be nice to
> use this flag to flip the boot mode of the BIOS.
> 
> -- 
> :wq Claudio

I like this because it's lighter weight than the patch I had come up
with from g2k18.

At the pace you're going, are you sure you don't want to tackle boot
order with SeaBIOS? ;-)

Ok ccardenas@

+--+
Carlos

Reply via email to