Re: change reboot behaviour in vmd

2018-12-09 Thread Claudio Jeker
On Sun, Dec 09, 2018 at 01:54:50PM +0100, Reyk Floeter wrote: > Sure, the bootdevice trick makes sense. Another trick could probably be to > try to switch to the hard disk after first boot (install) but this would make > the logic and config a bit ugly. > > OK for the diff below. > > The only t

Re: change reboot behaviour in vmd

2018-12-09 Thread Reyk Floeter
Sure, the bootdevice trick makes sense. Another trick could probably be to try to switch to the hard disk after first boot (install) but this would make the logic and config a bit ugly. OK for the diff below. The only thing that I’m a bit concerned about is that -B might turn a bit into a qemu

Re: change reboot behaviour in vmd

2018-12-09 Thread Claudio Jeker
On Thu, Dec 06, 2018 at 10:33:24AM +0100, Claudio Jeker wrote: > So doing autoinstall with -B net is great but one thing I was missing is > changing the reboot behaviour of vmd to exit at a guest reboot. > I came up with this minimal diff that does the trick for me. Now maybe it > would be better t

Re: change reboot behaviour in vmd

2018-12-07 Thread Carlos Cardenas
On Thu, Dec 06, 2018 at 10:33:24AM +0100, Claudio Jeker wrote: > So doing autoinstall with -B net is great but one thing I was missing is > changing the reboot behaviour of vmd to exit at a guest reboot. > I came up with this minimal diff that does the trick for me. Now maybe it > would be better t

change reboot behaviour in vmd

2018-12-06 Thread Claudio Jeker
So doing autoinstall with -B net is great but one thing I was missing is changing the reboot behaviour of vmd to exit at a guest reboot. I came up with this minimal diff that does the trick for me. Now maybe it would be better to have a proper flag for this instead of overloading vmc_bootdevice wi