From ebebc46c388ebd91e931355d79c2c94e2a49a376 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 11 Aug 2025 15:51:23 +0300 Subject: [PATCH] qm-create: simplify example and add install media (#17547) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/qm-create.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/linux/qm-create.md b/pages/linux/qm-create.md index 4f4f669c50..616eb3fc61 100644 --- a/pages/linux/qm-create.md +++ b/pages/linux/qm-create.md @@ -3,13 +3,17 @@ > Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager. > More information: . -- Create a virtual machine: +- Create a virtual machine with access to 512MiB of memory and 1 CPU core: `qm {{[cr|create]}} {{100}}` - Automatically start the machine after creation: -`qm {{[cr|create]}} {{100}} --start 1` +`qm {{[cr|create]}} {{100}} --start` + +- Give the virtual machine a name: + +`qm {{[cr|create]}} {{100}} --name {{vm_name}}` - Specify the type of operating system on the machine: @@ -23,6 +27,10 @@ `qm {{[cr|create]}} {{100}} --hookscript {{path/to/script.pl}}` +- Specify the install media: + +`qm {{[cr|create]}} {{100}} --cdrom {{local:iso/install-media.iso}}` + - Create a VM that bridges itself to the host network: `qm {{[cr|create]}} {{100}} --net{{0}} virtio,bridge=vmbr{{0}}`