Linux command
qm-terminal 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Attach
qm terminal 100
Attach
qm terminal 100 -iface serial1
Detach
Ctrl+o
说明
qm terminal attaches to the serial console of a virtual machine. This provides direct console access to the VM without requiring network connectivity or VNC. Use Ctrl+o to detach from the terminal session without affecting the VM.
参数
- -iface _serial0..3_
- Select the serial device to connect to (serial0, serial1, serial2, or serial3). Defaults to the first available serial console.
FAQ
What is the qm-terminal command used for?
qm terminal attaches to the serial console of a virtual machine. This provides direct console access to the VM without requiring network connectivity or VNC. Use Ctrl+o to detach from the terminal session without affecting the VM.
How do I run a basic qm-terminal example?
Run `qm terminal 100` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -iface _serial0..3_ do in qm-terminal?
Select the serial device to connect to (serial0, serial1, serial2, or serial3). Defaults to the first available serial console.