From b112a10c193cba9cad71a7415afb55f46b0aeb80 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:06:59 +0300 Subject: [PATCH 01/24] Create pvesh.md --- pages/linux/pvesh.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/pvesh.md diff --git a/pages/linux/pvesh.md b/pages/linux/pvesh.md new file mode 100644 index 00000000000000..82d5113dd2be10 --- /dev/null +++ b/pages/linux/pvesh.md @@ -0,0 +1,8 @@ +# pvesh + +> Interface with the Proxmox VE API. +> More information: . + +- Display version: + +`pvesh get /version` From 4387ab86fac45bdd2c32c8bff2f781a2d2064fba Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:26:29 +0300 Subject: [PATCH 02/24] pct: add page --- pages/linux/pct.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pages/linux/pct.md diff --git a/pages/linux/pct.md b/pages/linux/pct.md new file mode 100644 index 00000000000000..f69c0083c8e701 --- /dev/null +++ b/pages/linux/pct.md @@ -0,0 +1,4 @@ +# pct + +> LXC container manager. +> More information: . From e570e6e2b77fae601e03aed3dbb128ea4126c49c Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:36:17 +0300 Subject: [PATCH 03/24] Update pct.md --- pages/linux/pct.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pages/linux/pct.md b/pages/linux/pct.md index f69c0083c8e701..6a00f22db889cb 100644 --- a/pages/linux/pct.md +++ b/pages/linux/pct.md @@ -2,3 +2,27 @@ > LXC container manager. > More information: . + +- List all containers: + +`pct list` + +- Create a container (DRAFT): + +`pct create` + +- Show the configuration of a container, specifying its ID: + +`pct config {{100}}` + +- Start a specific container: + +`pct start {{100}}` + +- Send a shutdown request, then wait until the container is stopped: + +`pct shutdown {{100}} && qm wait {{100}}` + +- Destroy a container and remove all related resources: + +`pct destroy {{100}} --purge` From 26c9fe3b6622ba5b7e801970332d9561015ff740 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:11:09 +0300 Subject: [PATCH 04/24] Create pveversion.md --- pages/linux/pveversion.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/pveversion.md diff --git a/pages/linux/pveversion.md b/pages/linux/pveversion.md new file mode 100644 index 00000000000000..aa24b8a180134e --- /dev/null +++ b/pages/linux/pveversion.md @@ -0,0 +1,12 @@ +# pveversion + +> Proxmox VE version info. +> More information: . + +- Print system version: + +`pveversion` + +- Print Proxmox subpackage versions: + +`pveversion {{-v|--version}}` From 1f6b4d3e37c4016144b0b690690eb04b00956de6 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:26:57 +0300 Subject: [PATCH 05/24] Create pvesm.md --- pages/linux/pvesm.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/pvesm.md diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md new file mode 100644 index 00000000000000..de8606b9b7fd01 --- /dev/null +++ b/pages/linux/pvesm.md @@ -0,0 +1,8 @@ +# pvesh + +> Proxmox VE Storage Manager. +> More information: . + +- List storage pools: + +`pvesm status` From 14ddb8e4602605f13a9e711b36bdbc95bede2a4b Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:37:32 +0300 Subject: [PATCH 06/24] Create vzdump.md --- pages/linux/vzdump.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/linux/vzdump.md diff --git a/pages/linux/vzdump.md b/pages/linux/vzdump.md new file mode 100644 index 00000000000000..71eeff5cec796a --- /dev/null +++ b/pages/linux/vzdump.md @@ -0,0 +1,8 @@ +# vzdump + +> Backup VMs and Containers. +> More information: . + +- Backup a VM or Container: + +`vzdump {{100}}` From edfb3fe10095b599facdce42ff25561e3e4f2357 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:42:53 +0300 Subject: [PATCH 07/24] Update qmrestore.md --- pages/linux/qmrestore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/qmrestore.md b/pages/linux/qmrestore.md index 1b130ec8328743..43f3a63b87226b 100644 --- a/pages/linux/qmrestore.md +++ b/pages/linux/qmrestore.md @@ -1,6 +1,6 @@ # qmrestore -> Restore QemuServer vzdump backups. +> Restore QemuServer `vzdump` backups. > More information: . - Restore virtual machine from given backup file on the original storage: From 90cb87116eaf648e4f7bec0f11658a7e8b06e0f6 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:47:13 +0300 Subject: [PATCH 08/24] Delete pages/linux/vzdump.md --- pages/linux/vzdump.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 pages/linux/vzdump.md diff --git a/pages/linux/vzdump.md b/pages/linux/vzdump.md deleted file mode 100644 index 71eeff5cec796a..00000000000000 --- a/pages/linux/vzdump.md +++ /dev/null @@ -1,8 +0,0 @@ -# vzdump - -> Backup VMs and Containers. -> More information: . - -- Backup a VM or Container: - -`vzdump {{100}}` From c5f3586216db5b563af3acd9e9f6f7424cb9a8ee Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 04:51:55 +0300 Subject: [PATCH 09/24] Rename vzdump.md to vzdump.md --- pages/{common => linux}/vzdump.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/{common => linux}/vzdump.md (100%) diff --git a/pages/common/vzdump.md b/pages/linux/vzdump.md similarity index 100% rename from pages/common/vzdump.md rename to pages/linux/vzdump.md From 3e2462b901658c88b8eea17017ca2e7a98788b4c Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 04:56:22 +0300 Subject: [PATCH 10/24] Rename vzdump.md to vzdump.md --- pages/{linux => common}/vzdump.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/{linux => common}/vzdump.md (100%) diff --git a/pages/linux/vzdump.md b/pages/common/vzdump.md similarity index 100% rename from pages/linux/vzdump.md rename to pages/common/vzdump.md From 3281acd07f3e033b56be0aa189e417491540655e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 05:14:03 +0300 Subject: [PATCH 11/24] Update qmrestore.md --- pages/linux/qmrestore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/qmrestore.md b/pages/linux/qmrestore.md index 43f3a63b87226b..1b130ec8328743 100644 --- a/pages/linux/qmrestore.md +++ b/pages/linux/qmrestore.md @@ -1,6 +1,6 @@ # qmrestore -> Restore QemuServer `vzdump` backups. +> Restore QemuServer vzdump backups. > More information: . - Restore virtual machine from given backup file on the original storage: From 3756016e83de5c73a297176571f0bf6f5b38e1d7 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:14:17 +0300 Subject: [PATCH 12/24] Update pages/linux/pvesm.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/pvesm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md index de8606b9b7fd01..5fc2b2bd2301a2 100644 --- a/pages/linux/pvesm.md +++ b/pages/linux/pvesm.md @@ -1,4 +1,4 @@ -# pvesh +# pvesm > Proxmox VE Storage Manager. > More information: . From 70aa7e1b4a56afe6d5ed67a683d31734212a01c9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:24:58 +0300 Subject: [PATCH 13/24] Update pvesm.md --- pages/linux/pvesm.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md index 5fc2b2bd2301a2..924e23bbcbe25a 100644 --- a/pages/linux/pvesm.md +++ b/pages/linux/pvesm.md @@ -6,3 +6,5 @@ - List storage pools: `pvesm status` + +TODO From 37d1005e10eacf878af1c1f83b6f0f99863cef21 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:27:49 +0300 Subject: [PATCH 14/24] Update pvesm.md --- pages/linux/pvesm.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md index 924e23bbcbe25a..2a7a71d21c00ca 100644 --- a/pages/linux/pvesm.md +++ b/pages/linux/pvesm.md @@ -1,4 +1,4 @@ -# pvesm +# pvesm TODO > Proxmox VE Storage Manager. > More information: . @@ -6,5 +6,3 @@ - List storage pools: `pvesm status` - -TODO From 56a5842b946a1dd1d25670820240cca8fa1c99c8 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:28:04 +0300 Subject: [PATCH 15/24] Update pvesh.md --- pages/linux/pvesh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pvesh.md b/pages/linux/pvesh.md index 82d5113dd2be10..20d0f8572f8f43 100644 --- a/pages/linux/pvesh.md +++ b/pages/linux/pvesh.md @@ -1,4 +1,4 @@ -# pvesh +# pvesh TODO > Interface with the Proxmox VE API. > More information: . From 7dd8ed621c5307f1d3c8eada7c27e931b8ef49b4 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:30:07 +0300 Subject: [PATCH 16/24] Update pct.md --- pages/linux/pct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pct.md b/pages/linux/pct.md index 6a00f22db889cb..84190bed5e51fd 100644 --- a/pages/linux/pct.md +++ b/pages/linux/pct.md @@ -21,7 +21,7 @@ - Send a shutdown request, then wait until the container is stopped: -`pct shutdown {{100}} && qm wait {{100}}` +`pct shutdown {{100}} && pct wait {{100}}` - Destroy a container and remove all related resources: From ce6a358079602f283ae085951ef22492d605fa0a Mon Sep 17 00:00:00 2001 From: Chunyao Chan <24861096+Civon@users.noreply.github.com> Date: Sun, 15 Dec 2024 22:49:08 +0800 Subject: [PATCH 17/24] Update pct.md: Revise commands and add new examples (#3) - Updated command descriptions to reflect accurate usage (start, stop, reboot). - Added examples for accessing a container shell and resizing disks. - Included new template-based container creation example. - Introduced snapshot creation with description. - Improved overall clarity and consistency in command syntax. --- pages/linux/pct.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pages/linux/pct.md b/pages/linux/pct.md index 84190bed5e51fd..200b90846433c6 100644 --- a/pages/linux/pct.md +++ b/pages/linux/pct.md @@ -1,27 +1,35 @@ # pct -> LXC container manager. +> Manage LXC containers in Proxmox. > More information: . - List all containers: `pct list` -- Create a container (DRAFT): +- Start/Stop/Reboot a specific container: -`pct create` +`pct {{start|stop|reboot}} {{100}}` -- Show the configuration of a container, specifying its ID: +- Access a specific container's shell: -`pct config {{100}}` +`pct enter {{100}}` + +- Create a container from template: + +`pct create {{100}} {{/var/lib/vz/template/cache/distro-name.tar.zst}} -hostname {{hostname}} -password {{password}} --rootfs {{local-lvm}} --on-boot` -- Start a specific container: +- Resize the container's disk to 20G: -`pct start {{100}}` +`pct resize {{100}} {{rootfs|mp0...mp255}} {{20G}}` + +- Show the configuration of a container, specifying its ID: + +`pct config {{100}}` -- Send a shutdown request, then wait until the container is stopped: +- Snapshot a specific container with description: -`pct shutdown {{100}} && pct wait {{100}}` +`pct snapshot {{100}} {{my-snapshot}} --description {{My snapshot description}}` - Destroy a container and remove all related resources: From bc141460780a91318ad925f91b8126866361a05e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 15 Dec 2024 20:09:39 +0200 Subject: [PATCH 18/24] Update pvesh.md --- pages/linux/pvesh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pvesh.md b/pages/linux/pvesh.md index 20d0f8572f8f43..82d5113dd2be10 100644 --- a/pages/linux/pvesh.md +++ b/pages/linux/pvesh.md @@ -1,4 +1,4 @@ -# pvesh TODO +# pvesh > Interface with the Proxmox VE API. > More information: . From b2fac2be3a11259fb445e6a9c5a8bf4abd9e942a Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 15 Dec 2024 20:09:54 +0200 Subject: [PATCH 19/24] Update pvesm.md --- pages/linux/pvesm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md index 2a7a71d21c00ca..5fc2b2bd2301a2 100644 --- a/pages/linux/pvesm.md +++ b/pages/linux/pvesm.md @@ -1,4 +1,4 @@ -# pvesm TODO +# pvesm > Proxmox VE Storage Manager. > More information: . From 9c87b6ec8b77dcbec9019d272d1d6455964166d3 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 30 Dec 2024 17:04:10 +0200 Subject: [PATCH 20/24] mpX change --- pages/linux/pct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pct.md b/pages/linux/pct.md index 200b90846433c6..6737222df85d86 100644 --- a/pages/linux/pct.md +++ b/pages/linux/pct.md @@ -21,7 +21,7 @@ - Resize the container's disk to 20G: -`pct resize {{100}} {{rootfs|mp0...mp255}} {{20G}}` +`pct resize {{100}} {{rootfs|mpX}} {{20G}}` - Show the configuration of a container, specifying its ID: From 9d053b32986b1d1241500a4a479d188558be57f1 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 30 Dec 2024 17:23:02 +0200 Subject: [PATCH 21/24] version to verbose --- pages/linux/pveversion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pveversion.md b/pages/linux/pveversion.md index aa24b8a180134e..6d8884867ca0af 100644 --- a/pages/linux/pveversion.md +++ b/pages/linux/pveversion.md @@ -9,4 +9,4 @@ - Print Proxmox subpackage versions: -`pveversion {{-v|--version}}` +`pveversion {{-v|--verbose}}` From 7496c9fa0585eaae9f680221b83bd585d20d0b71 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:49:15 +0200 Subject: [PATCH 22/24] Delete pages/linux/pvesh.md --- pages/linux/pvesh.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 pages/linux/pvesh.md diff --git a/pages/linux/pvesh.md b/pages/linux/pvesh.md deleted file mode 100644 index 82d5113dd2be10..00000000000000 --- a/pages/linux/pvesh.md +++ /dev/null @@ -1,8 +0,0 @@ -# pvesh - -> Interface with the Proxmox VE API. -> More information: . - -- Display version: - -`pvesh get /version` From 093a98f3af7a9eb4cd33a91e216920f03818df5f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:49:31 +0200 Subject: [PATCH 23/24] Delete pages/linux/pvesm.md --- pages/linux/pvesm.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 pages/linux/pvesm.md diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md deleted file mode 100644 index 5fc2b2bd2301a2..00000000000000 --- a/pages/linux/pvesm.md +++ /dev/null @@ -1,8 +0,0 @@ -# pvesm - -> Proxmox VE Storage Manager. -> More information: . - -- List storage pools: - -`pvesm status` From 174dc70d257b052bf5931e033d71c489a1996890 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 30 Dec 2024 21:55:28 +0200 Subject: [PATCH 24/24] Update pveversion.md --- pages/linux/pveversion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pveversion.md b/pages/linux/pveversion.md index 6d8884867ca0af..8a6067daa4e5ce 100644 --- a/pages/linux/pveversion.md +++ b/pages/linux/pveversion.md @@ -1,7 +1,7 @@ # pveversion > Proxmox VE version info. -> More information: . +> More information: . - Print system version: