From 0df291d3b572d5497fd6c866f2c7b0f6189c8311 Mon Sep 17 00:00:00 2001 From: Barnabé BALP Date: Mon, 5 Sep 2022 19:34:04 +0200 Subject: Update system reset warning message to warn against deletion of all volumes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Barnabé BALP --- cmd/podman/system/reset.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/podman/system/reset.go b/cmd/podman/system/reset.go index 20f15a34f..02c4a7b46 100644 --- a/cmd/podman/system/reset.go +++ b/cmd/podman/system/reset.go @@ -62,7 +62,8 @@ func reset(cmd *cobra.Command, args []string) { - all images - all networks - all build cache - - all machines`) + - all machines + - all volumes`) if len(listCtn) > 0 { fmt.Println(`WARNING! The following external containers will be purged:`) -- cgit v1.2.3-54-g00ecf From 4462305fe87f6e7d9649743467adb94f7e32c797 Mon Sep 17 00:00:00 2001 From: Barnabé BALP Date: Mon, 5 Sep 2022 19:37:40 +0200 Subject: Update the displayed warning in documentation regarding the system reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [NO NEW TESTS NEEDED] Signed-off-by: Barnabé BALP --- docs/source/markdown/podman-system-reset.1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/markdown/podman-system-reset.1.md b/docs/source/markdown/podman-system-reset.1.md index 11ce11d07..54bc5313b 100644 --- a/docs/source/markdown/podman-system-reset.1.md +++ b/docs/source/markdown/podman-system-reset.1.md @@ -37,6 +37,7 @@ WARNING! This will remove: - all networks - all build cache - all machines + - all volumes Are you sure you want to continue? [y/N] y ``` -- cgit v1.2.3-54-g00ecf