proxmox 虚拟机使用命令介绍
local-hdd1t /dev/sda1
qm
qm [create|set]
–memory
–sockets
–cores
–ostype NAME specify OS type –os type name指定操作系统类型
–onboot [yes|no] start at boot –启动时[是否]启动时启动
–keyboard XX set vnc keyboard layout –键盘XX设置VNC键盘布局
–cpuunits
–name
–description
–boot [a|c|d|n] specify boot order –引导[a_c_d_n]指定引导顺序
–bootdisk
–acpi (yes|no) enable/disable ACPI –ACPI(是否)启用/禁用ACPI
–kvm (yes|no) enable/disable KVM –kvm(是否)启用/禁用kvm
–tdf (yes|no) enable/disable time drift fix –TDF(是否)启用/禁用时间漂移修正
–localtime (yes|no) set the RTC to local time –本地时间(是否)将RTC设置为本地时间
–vga (gd5446|vesa) specify VGA type –vga(gd5446 vesa)指定vga类型
–vlan[0-9u] MODEL=XX:XX:XX:XX:XX:XX[,MODEL=YY:YY:YY:YY:YY:YY] -VLAN[0-9U]型号=XX:XX:XX:XX:XX:XX[,型号=YY:YY:YY:YY:YY:YY
–ide
[,cyls=c,heads=h,secs=s[,trans=t]] [,气缸=C,头=H,秒=S[,trans=T]]
[,cache=none|writethrough|writeback] [,cache=none writethrough writeback]
[,snapshot=on|off][,cache=on|off][,format=f] [,快照=开关][,缓存=开关][,格式=F]
[,werror=enospc|ignore|report|stop] [,werror=enospc忽略报告停止]
[,rerror=ignore|report|stop] [,rerror=忽略报告停止]
[,backup=no|yes] [,备份=否是]
–ide
–ide
–ide
–cdrom
qm monitor
qm start
qm shutdown
qm wait
qm stop
qm reset
qm suspend
qm resume
qm cad
qm destroy
qm unlock
qm status
qm cdrom
qm cdrom
qm unlink
qm vncproxy
qm vnc
qm showcmd
qm list list all virtual machines qm列表列出所有虚拟机
qm startall start all virtual machines (when onboot=1) qm start all启动所有虚拟机(当onboot=1时)
qm stopall [timeout] stop all virtual machines (default timeout is 3 minutes) qm stop all[超时]停止所有虚拟机(默认超时为3分钟)
最后编辑:Jeebiz 更新时间:2024-03-31 17:19