public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs] qm/pct: Add explanation for --purge
Date: Thu, 10 Dec 2020 09:15:59 +0100	[thread overview]
Message-ID: <20201210081600.37881-1-d.jaeger@proxmox.com> (raw)

This was apparently not clear enough.
For example, see #3184.

A bit long, but I think this is a better place for additional
information about ACL and firewall than the GUI tooltip or the
API parameter description.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
 pct.adoc | 10 ++++++++++
 qm.adoc  |  8 ++++++++
 2 files changed, 18 insertions(+)

diff --git a/pct.adoc b/pct.adoc
index 1f0bcef..ddc16e2 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -791,6 +791,16 @@ Reduce the memory of the container to 512MB
 # pct set 100 -memory 512
 ----
 
+Destroying a container always removes it from Access Control Lists and it always
+removes the firewall configuration of the container. You have to activate
+'--purge', if you want to additionally remove the container from replication jobs,
+backup jobs and HA resource configurations.
+
+----
+# pct destroy 100 --purge
+----
+
+
 
 Obtaining Debugging Logs
 ~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/qm.adoc b/qm.adoc
index 5e53e4a..9c54903 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -1326,6 +1326,14 @@ Same as above, but only wait for 40 seconds.
 
  qm shutdown 300 && qm wait 300 -timeout 40
 
+Destroying a VM always removes it from Access Control Lists and it always
+removes the firewall configuration of the VM. You have to activate
+'--purge', if you want to additionally remove the VM from replication jobs,
+backup jobs and HA resource configurations.
+
+ qm destroy 300 --purge
+
+
 
 [[qm_configuration]]
 Configuration
-- 
2.20.1




             reply	other threads:[~2020-12-10  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10  8:15 Dominic Jäger [this message]
2020-12-10  8:16 ` [pve-devel] [PATCH manager] safe destroy: Add HA to purge tooltip Dominic Jäger
2020-12-18 16:57 ` [pve-devel] applied-series: Re: [PATCH docs] qm/pct: Add explanation for --purge Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201210081600.37881-1-d.jaeger@proxmox.com \
    --to=d.jaeger@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal