The schedule action handling changed with new API. Instead of modifying the template, berta should use the [`vm.sched_action_add`](https://docs.opennebula.io/doc/6.2/oca/ruby/OpenNebula/VirtualMachine.html#sched_action_add-instance_method) and [`vm.sched_action_delete`](https://docs.opennebula.io/doc/6.2/oca/ruby/OpenNebula/VirtualMachine.html#sched_action_delete-instance_method). I'll provide a contribution.