Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-24 Thread Reyk Floeter
Hi, it’s not like that, maybe I wasn’t clear. Let me try to explain: - you can boot from disk (-d) - you can boot an OpenBSD kernel or use a custom BIOS (-b) - you can boot from CDROM (-r) vmd/vmctl checks if at least one option is available. If you specify neither of these options, you can pot

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Todd T. Fries
Penned by Theo de Raadt on 20180823 14:22.46, we have: | Mike Larkin wrote: | | > On Thu, Aug 23, 2018 at 11:05:40AM -0500, Todd T. Fries wrote: | > > This makes me wonder. Does it make sense to support booting a kernel without | > > disks? Some people have heard of the phrase 'diskless' ;-) |

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Theo de Raadt
Mike Larkin wrote: > On Thu, Aug 23, 2018 at 11:05:40AM -0500, Todd T. Fries wrote: > > This makes me wonder. Does it make sense to support booting a kernel without > > disks? Some people have heard of the phrase 'diskless' ;-) > > > > Penned by Reyk Floeter on 20180822 13:35.23, we have: > > |

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Mike Larkin
On Thu, Aug 23, 2018 at 11:05:40AM -0500, Todd T. Fries wrote: > This makes me wonder. Does it make sense to support booting a kernel without > disks? Some people have heard of the phrase 'diskless' ;-) > > Penned by Reyk Floeter on 20180822 13:35.23, we have: > | Hi, > | > | vmctl doesn't allow

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Klemens Nanni
On Thu, Aug 23, 2018 at 11:05:40AM -0500, Todd T. Fries wrote: > This makes me wonder. Does it make sense to support booting a kernel without > disks? Some people have heard of the phrase 'diskless' ;-) We already do: $ head -n4 /etc/vm.conf vm "rd" { disable

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Todd T. Fries
This makes me wonder. Does it make sense to support booting a kernel without disks? Some people have heard of the phrase 'diskless' ;-) Penned by Reyk Floeter on 20180822 13:35.23, we have: | Hi, | | vmctl doesn't allow to boot VMs with only a CDROM. I see no reason | for it and vmd already all

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-22 Thread Carlos Cardenas
On Wed, Aug 22, 2018 at 08:35:23PM +0200, Reyk Floeter wrote: > Hi, > > vmctl doesn't allow to boot VMs with only a CDROM. I see no reason > for it and vmd already allows CDROM-only. > > OK? ok ccardenas

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-22 Thread Klemens Nanni
On Wed, Aug 22, 2018 at 08:35:23PM +0200, Reyk Floeter wrote: > vmctl doesn't allow to boot VMs with only a CDROM. I see no reason > for it and vmd already allows CDROM-only. I don't see a reason not to support this - wanted to test boot some linux CD myself already but failed without disk. OK kn

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-22 Thread Mike Larkin
On Wed, Aug 22, 2018 at 08:35:23PM +0200, Reyk Floeter wrote: > Hi, > > vmctl doesn't allow to boot VMs with only a CDROM. I see no reason > for it and vmd already allows CDROM-only. > > OK? No objection, ok mlarkin. -ml > > Via https://twitter.com/wizardishungry/status/1032327323125727232 >

vmd/vmctl: allow to boot cdrom-only VMs

2018-08-22 Thread Reyk Floeter
Hi, vmctl doesn't allow to boot VMs with only a CDROM. I see no reason for it and vmd already allows CDROM-only. OK? Via https://twitter.com/wizardishungry/status/1032327323125727232 "Jon Williams @wizardishungry @reykfloeter Could you consider allowing booting ISO-only vms in 6.4? This is help