mac parallels desktop的虚拟机管理命令prlctl常用操作

列出全部虚拟机

prlctl list --all

UUID                                    STATUS       IP_ADDR         NAME
{54c09feb-912e-42f0-bb72-994cbc86e94d}  running      -               Ubuntu 24.04 ARM64
{8e635f8b-4875-4666-90d3-1b8f3bf17c99}  suspended    -               Windows 11
只列出活动的
prlctl list

创建快照

prlctl snapshot "Ubuntu 24.04 ARM64"

Creating the snapshot...
The snapshot with id {6660338b-bb52-4b45-ade8-c69c41b79089} has been successfully created.

指定名称和描述创建快照
prlctl snapshot "Ubuntu 24.04 ARM64" -n snapshot_name -d description

列出该虚拟机的快照

prlctl snapshot-list "Ubuntu 24.04 ARM64"

PARENT_SNAPSHOT_ID                      SNAPSHOT_ID
                                       *{6660338b-bb52-4b45-ade8-c69c41b79089}

切换快照

prlctl snapshot-switch "Ubuntu 24.04 ARM64" -i, --id "{6660338b-bb52-4b45-ade8-c69c41b79089}"

posted @ 2025-05-23 15:48  meetrice  阅读(50)  评论(0)    收藏  举报