]> git.proxmox.com Git - pve-docs.git/blobdiff - pct.adoc
Add description for mountpoint property
[pve-docs.git] / pct.adoc
index 9fa6a3822974fefd7dba1b32cd45b292e3dc71bd..2f1d329f3d96c502a0c97f713920310536189aa2 100644 (file)
--- 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
 ------------------
@@ -729,7 +739,7 @@ If you have a cluster, you can migrate your Containers with
 
 This works as long as your Container is offline. If it has local volumes or
 mountpoints defined, the migration will copy the content over the network to
-the target host if there is the same storage defined.
+the target host if the same storage is defined there.
 
 If you want to migrate online Containers, the only way is to use
 restart migration. This can be initiated with the -restart flag and the optional