On Thu, Dec 29, 2022 at 04:05:44PM +0100, Jurjen Oskam wrote: > > It has been this way since day-1 of -B -- unclear if you want to call > > it expected, feature or bug :-) > > Ah, thanks! No need to dive into it then, and hopefully this thread > will pop up in searches for others running into the same phenomenon. > :)
I also ran into this a few months ago after adding 'boot device disk' to my vm.conf. Turns out this is indeed intentional and allows -B to be used as a "oneshot" boot for unattended installation. It keeps the freshly installed system from rebooting into the installer again and then keep looping like that. It has been noted before that this is not obvious and collides with other use cases. A more explicit way of asking vmd to run a VM just once would be welcome, and then -B could be changed to behave as usual upon 'reboot'. This is a known issue to vmm developers, but not a high priority one.