mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 04:51:13 +00:00
Update cheatsheets
This commit is contained in:
14
linux/qm-disk-import
Normal file
14
linux/qm-disk-import
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user