QM machine type via cli

MinerAle00

Member
Apr 3, 2022
12
2
8
www.youtube.com
Good morning,
I wanted to create a virtual machine via CLI using the 'qm' command. If I try to enter 'q35' it works, but if I enter 'i440fx' it gives me an error.

Code:
root@pve:~# qm create 100 --machine q35

root@pve:~# qm create 101 --machine i440fx
400 Parameter verification failed.
machine: invalid format - format error
machine.type: value does not match the regex pattern
qm create <vmid> [OPTIONS]

root@pve:~# qm create 101 --machine Default
400 Parameter verification failed.
machine: invalid format - format error
machine.type: value does not match the regex pattern
qm create <vmid> [OPTIONS]

root@pve:~# qm create 101 --machine default
400 Parameter verification failed.
machine: invalid format - format error
machine.type: value does not match the regex pattern
qm create <vmid> [OPTIONS]

In the documentation it says that the correct command is this one but it doesn't work https://pve.proxmox.com/pve-docs/qm.1.html.
--machine [[type=]<machine type>] [,viommu=<intel|virtio>]
Can you tell me the correct command for the 'i440fx' version? Thank you.
 
Can you tell me the correct command for the 'i440fx' version? Thank you.
The machine type for i440fx is called pc
Code:
qm create 101 --machine pc

To select a specific version use pc-i440fx-<version>
Code:
qm create 101 --machine pc-i440fx-8.1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!