seapath / ansible

This repo contains all the ansible playbooks used to deploy or manage a cluster, as well as inventories examples
https://lfenergy.org/projects/seapath/
Apache License 2.0
6 stars 16 forks source link

Add VM start at boot for standalone #613

Closed Gabin-rte closed 1 month ago

Gabin-rte commented 2 months ago

It seems to me that what you want to achieve is the same result as the command virsh autostart vm_name. It would be better to launch this command after VM deployment, instead of doing a service this way.

Unfortunately, it seems that we cannot write this behavior directly in the xml

It does not work as expected. For exemple, in case of power lost VMs will not start at boot. Maybe it’s a bug in my platforms, can you confirm this behavior?

dupremathieu commented 1 month ago

It seems to me that what you want to achieve is the same result as the command virsh autostart vm_name. It would be better to launch this command after VM deployment, instead of doing a service this way. Unfortunately, it seems that we cannot write this behavior directly in the xml

It does not work as expected. For exemple, in case of power lost VMs will not start at boot. Maybe it’s a bug in my platforms, can you confirm this behavior?

On my side, with autostart, VMs start even in case of power lost.

insatomcat commented 1 month ago

solved by #614