qm-create: add page (#8705)

pull/1/head
FL 2022-10-04 16:58:55 +02:00 committed by GitHub
parent f1652299fe
commit b60ba44da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/linux/qm-create.md Normal file
View File

@ -0,0 +1,24 @@
# qm create
> Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Create a virtual machine:
`qm create {{100}}`
- Automatically start the machine after creation:
`qm create {{100}} --start 1`
- Specify the type of operating system on the machine:
`qm create {{100}} --ostype {{win10}}`
- Replace an existing machine (requires archiving it):
`qm create {{100}} --archive {{path/to/backup_file.tar}} --force 1`
- Specify a script that is executed on specific triggers during machine lifetime:
`qm create {{100}} --hookscript {{path/to/script.pl}}`