X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pct.adoc;h=2cb4bbe8c4eacf0da871ef030ecce624a672415a;hb=a45c999b4586734621bbc968d67f87390739b270;hp=9fa6a3822974fefd7dba1b32cd45b292e3dc71bd;hpb=1ff5e4e80ebfdab700d14abbe18da65cbdbb147a;p=pve-docs.git diff --git a/pct.adoc b/pct.adoc index 9fa6a38..2cb4bbe 100644 --- a/pct.adoc +++ b/pct.adoc @@ -83,7 +83,7 @@ Technology Overview * CRIU: for live migration (planned) -* Use latest available kernels (4.4.X) +* Runs on modern Linux kernels * Image based deployment (templates) @@ -590,6 +590,16 @@ start after those where the parameter is set, and this parameter only makes sense between the machines running locally on a host, and not cluster-wide. +Hookscripts +~~~~~~~~~~~ + +You can add a hook script to CTs with the config property `hookscript`. + + pct set 100 -hookscript local:snippets/hookscript.pl + +It will be called during various phases of the guests lifetime. +For an example and documentation see the example script under +`/usr/share/pve-docs/examples/guest-example-hookscript.pl`. Backup and Restore ------------------