跳到主要内容

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

浏览文件

install-qemu.sh

16 行 · 458 B历史下载
1#!/bin/sh
2
3# SPDX-FileCopyrightText: Copyright The Lima Authors
4# SPDX-License-Identifier: Apache-2.0
5
6# Install qemu on GitHub Actions runner.
7# Not expected to be used outside GitHub Actions.
8
9set -eux
10
11# apt-get update has to be run beforehand
12apt-get install -y --no-install-recommends ovmf qemu-system-x86 qemu-utils
13modprobe kvm
14# `usermod -aG kvm ${SUDO_USER}` does not take an effect on GHA
15chown "${SUDO_USER}" /dev/kvm
16qemu-system-x86_64 --version