Hello guys,
I'm working on an playbook (Ansible) intended to perform so called "unattended upgrades" of the whole environment. Because the playbook includes actions like setting up scheduled downtime in Nagios, rebooting the server and wait till it came up again online I created a logic, all of these actions to be performed only on KVM virtual machines (based on Ansible facts).
So far so good, but today I got a thought that what will happen if I try to reboot the same way LXC container? I logged into one of it and simply issued reboot - and it worked.
On the hypervisor I see the uptime change of the process, but no event was generated, most probably because it not comes from the Proxmox hypervisor itself.
So regarding the tests everything is fine, but I'm not sure is it wise to extend the playbook with these actions for LXC containers as well.
What do you think?
Thanks in advance.
I'm working on an playbook (Ansible) intended to perform so called "unattended upgrades" of the whole environment. Because the playbook includes actions like setting up scheduled downtime in Nagios, rebooting the server and wait till it came up again online I created a logic, all of these actions to be performed only on KVM virtual machines (based on Ansible facts).
So far so good, but today I got a thought that what will happen if I try to reboot the same way LXC container? I logged into one of it and simply issued reboot - and it worked.
On the hypervisor I see the uptime change of the process, but no event was generated, most probably because it not comes from the Proxmox hypervisor itself.
So regarding the tests everything is fine, but I'm not sure is it wise to extend the playbook with these actions for LXC containers as well.
What do you think?
Thanks in advance.
Last edited: