Hi Alessio,I just tested it and it seems to be working without a problem.To explain the examples which you sent, might help.The `next_run: true` "prepares" the VM parameters and after reboot, the parameters will be set.I noticed that you did not set any parameter to the VM in that task, so it has nothing to do.And as for the second example, with `state: next_run`, this updates the parameters and reboots automatically.
Please check out if the VM does not already have boot_devices set to hard disk.
Martin NecasOn Fri, May 14, 2021 at 1:36 PM Alessio B. <alessio.battaglia.1981@gmail.com> wrote:Hi,
in debug mode I haven't any error.
The reboot can't be invoked when the VMs are in running state.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/