跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

windows-11.yaml

60 行 · 2.6 KB历史下载
1# Windows guest is currently experimental. It only runs on QEMU, and it requires plain: true.
2os: "Windows"
3vmType: "qemu"
4
5images:
6# Currently there is no way to download Windows 11 ISO automatically.
7# You have to download the ISO from https://www.microsoft.com/en-us/software-download/windows11 and set the local path here.
8# Please download `English (United States)` version. Otherwise VM installation is stopped in the middle.
9- location: "~/Downloads/Win11_25H2_English_x64_v2.iso"
10 arch: "x86_64"
11- location: "~/Downloads/Win11_25H2_English_Arm64_v2.iso"
12 arch: "aarch64"
13
14# Windows 11 guest uses TPM emulation by default.
15# You can turn off TPM (in that case, lima bypasses Windows 11's initial TPM check).
16tpm: true
17
18osOpts:
19 Windows:
20 # Virtio-win ISO contains virtio drivers for windows. It is necessary for lots of QEMU options which use virtio (virtio interface for mounting qcow2 disk, virtio-net, virtio-serial, virtio-rng, virtio-keyboard, and virtio-mouse)
21 # In addition, the driver for virtio-fs will be used in the future.
22 # Virtio-win ISO supports both x86_64 and aarch64 (inside the ISO it contains drivers for both archs).
23 virtioWin:
24 - location: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.271-1/virtio-win-0.1.271.iso
25 arch: "x86_64"
26 digest: "sha256:bbe6166ad86a490caefad438fef8aa494926cb0a1b37fa1212925cfd81656429"
27 - location: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.271-1/virtio-win-0.1.271.iso
28 arch: "aarch64"
29 digest: "sha256:bbe6166ad86a490caefad438fef8aa494926cb0a1b37fa1212925cfd81656429"
30
31plain: true
32
33video:
34 # This is for development purpose. You can set `none`.
35 display: default
36
37# Windows VM doesn't support boot mode because there is no phase which is equivalent to Cloud-init's 'init' stage.
38# Currently Windows VM doesn't support yq mode.
39# provision:
40# - mode: system
41# script: |
42# Write-Output "this is system mode"
43# - mode: user
44# script: |
45# Write-Output "this is user mode"
46# # dependency is only run at once, when the guest is installed.
47# # Currently Windows VM does not support skipDefaultDependencyResolution.
48# - mode: dependency
49# skipDefaultDependencyResolution: false
50# script: |
51# Write-Output "this is dependency mode"
52# # All data mode files are copied in `C:\ProgramData\Lima\provision\provision.data\`, and `path` is ignored.
53# - mode: data
54# path: /this-field-is-ignored
55# content: |
56# FOO=bar
57# - mode: data
58# path: /this-field-is-ignored
59# content: |
60# BAR=foo