From 178ec5d5c1b2da393bef60ab4473d2534061ddfc Mon Sep 17 00:00:00 2001 From: farhan khan <86480450+BabaYaga1221@users.noreply.github.com> Date: Wed, 19 Jul 2023 22:33:39 +0530 Subject: [PATCH] qm-disk-import: add page; qm-importdisk: add alias page (#10499) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/qm-disk-import.md | 9 +++++++++ pages/linux/qm-importdisk.md | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 pages/linux/qm-disk-import.md create mode 100644 pages/linux/qm-importdisk.md diff --git a/pages/linux/qm-disk-import.md b/pages/linux/qm-disk-import.md new file mode 100644 index 000000000..561cfdbf1 --- /dev/null +++ b/pages/linux/qm-disk-import.md @@ -0,0 +1,9 @@ +# qm disk import + +> Import a disk image to a virtual machine as an unused disk. +> The supported image formats for `qemu-img`, such as raw, qcow2, qed, vdi, vmdk, and vhd must be used. +> More information: . + +- Import a VMDK/qcow2/raw disk image using a specific storage name: + +`qm importdisk {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` diff --git a/pages/linux/qm-importdisk.md b/pages/linux/qm-importdisk.md new file mode 100644 index 000000000..ee365d00a --- /dev/null +++ b/pages/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> This command is an alias of `qm disk import`. + +- View documentation for the original command: + +`tldr qm disk import`