On Fri, Jun 21, 2019 at 02:38:56PM +0200, Joel Carnat wrote:
> Hi,
> 
> I need a VM to always boot from the network.
> 
> I could do it using vmctl(8):
> # doas vmctl start test -c -B net -b /bsd -n vswitch0
> (...)
> PXE boot MAC address fe:e1:bb:d1:c5:d8, interface vio0
> nfs_boot: using interface vio0, with revarp & bootparams
> 
> But I can't find the syntax to be used in vm.conf(5).
> Using "boot /bsd" would not use PXE.
> Using "boot /pxeboot" would not boot at all.
> 
> Is it possible to set the boot device as net in vm.conf ?

It's possible in -current and will be in the next release. See the
manual[1] for further reference.

[1] https://man.openbsd.org/vm.conf#boot_device

Reply via email to