[pve-devel] [PATCH docs] pct: document .pve-ignore. mechanism

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Apr 26 14:12:44 CEST 2016


---
Not sure if this should be in a 'Note' or normal text or even a
separate section which also covers the BEGIN/END markers but those
should be fairly obvious, no?

 pct.adoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pct.adoc b/pct.adoc
index eaa36e7..ca89427 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -227,6 +227,11 @@ Alpine:: test /etc/alpine-release
 NOTE: Container start fails if the configured 'ostype' differs from the auto
 detected type.
 
+NOTE: To prevent files from being modified an empty file in
+the same directory can be created with the same name prefixed with
+"`.pve-ignore.`". For instance `/etc/.pve-ignore.hosts` will prevent the
+modification of `/etc/hosts`.
+
 
 Container Images
 ----------------
-- 
2.1.4





More information about the pve-devel mailing list