[PVE-User] Any way to notify VM that it was migrated?

Uwe Sauter uwe.sauter.de at gmail.com
Fri Jun 9 11:47:49 CEST 2023


Hi all,

is there a way to notify a VM (and subsequently trigger some action) when it was migrated from one
host to another?

Recently some updates (either on the Proxmox hosts or in the CentOS 7 VM) caused a change in
behavior for the chronyd that ist running inside some of my VMs.
It seems that chronyd is loosing its synchronization with the remote NTP servers during/shortly
after a migration.
I'd like to trigger a "chronyc burst 5/5" whenever a host was migrated so that chronyd will
re-synchronize.

Regards,

	Uwe



More information about the pve-user mailing list