disk

limactl disk

Lima 磁盘管理

示例

  创建磁盘:
  $ limactl disk create DISK --size SIZE [--format qcow2]

  列出现有磁盘:
  $ limactl disk ls

  删除磁盘:
  $ limactl disk delete DISK

  调整磁盘大小:
  $ limactl disk resize DISK --size SIZE

选项

  -h, --help   help for disk

从父命令继承的选项

      --debug               调试模式
      --log-format string   设置日志格式 [text, json] (default "text")
      --log-level string    设置日志级别 [trace, debug, info, warn, error]
      --tty                 启用 TUI 交互,如打开编辑器。默认在终端时为 true。自动化时设为 false。
  -y, --yes                 --tty=false 的别名

另请参见