[ovirt-devel] Question about node migrations and hooks
Sven Kieske
svenkieske at gmail.com
Sat May 10 16:48:51 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10.05.2014 13:49, richard.seguin at marisec.ca wrote:
> 1. Is there a way to make hooks so that they apply to all
> instances and templates? rather than setting one at a time?
In short: yes
vdsm basically executes all scripts in the hooking folders.
as long as these scripts don't contain any logic for filtering
out certain vms based on some criteria, the script gets applied
to every vm (e.g. you put your script in the "before_vm_start" folder).
HTH
Sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQGcBAEBAgAGBQJTblhzAAoJEAq0kGAWDrqletML/idp4vwLa0fOnxk2lkDHpaUc
MX2HWHvmlQ7V7Xud9mNg59uoxmTCLFm3y/kh6f4/Q0eFtMSayqSPM+noVx/NoLNk
o4MoZvb4j51tW40LEticR8lGiOoK+Ko5Zl0TG/IQMpvNt72qYc0ylHrkL8cu+LlY
pTOCAZEBPbph0fDgQcw5ZawdTlCKOEKOk7oxEOaClQwteHuhZ6pRYV+YN0bBO587
r84wQgeE6wKYB/kkxc08EcKds4N4cOA7rkXsZy5i45zh5fsL/NQkMVRt2zwHqOja
G/YP5sYwgq4i97OCiNm1oZjmtL3TGXPmQqgdb7R02fppm31drpcpRgH4tARIaKdd
sE0ZeB1977f6XzUU5ZzIVJRc4Mc98byv+85NOmuzxnMAEzDEj+jT5aQ6QDF2KrF5
rs5WQMUMbCfTi2VtkJWyFn0VhWL8LEUR9wECkSf3DOtI5z47xnCIWWpzXNg1kUCX
uYog6oEX2opmFhaxv8UWlaizYnznnP0KkRTNlqQ4tA==
=odnF
-----END PGP SIGNATURE-----
More information about the Devel
mailing list