3 Star 2 Fork 0

Gitee 极速下载/hyperkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/docker/hyperkit
克隆/下载
hyperkitrun.sh 945 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
HYPERKIT="build/hyperkit"
# Linux
KERNEL="test/vmlinuz"
INITRD="test/initrd.gz"
CMDLINE="earlyprintk=serial console=ttyS0"
# FreeBSD
#USERBOOT="test/userboot.so"
#BOOTVOLUME="/somepath/somefile.{img | iso}"
#KERNELENV=""
MEM="-m 1G"
#SMP="-c 2"
#NET="-s 2:0,virtio-net"
#IMG_CD="-s 3,ahci-cd,/somepath/somefile.iso"
#IMG_HDD="-s 4,virtio-blk,/somepath/somefile.img"
PCI_DEV="-s 0:0,hostbridge -s 31,lpc"
LPC_DEV="-l com1,stdio"
ACPI="-A"
#UUID="-U deadbeef-dead-dead-dead-deaddeafbeef"
if [ ! -x "$HYPERKIT" ]; then
make
if [ ! $? -eq 0 ]; then
echo "Error whilst building $HYPERKIT"
exit 1
fi
fi
# Linux
if [ ! -f "$KERNEL" ]; then
pushd test
./tinycore.sh
popd
fi
build/hyperkit $ACPI $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD $UUID -f kexec,$KERNEL,$INITRD,"$CMDLINE"
# FreeBSD
#build/hyperkit $ACPI $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD $UUID -f fbsd,$USERBOOT,$BOOTVOLUME,"$KERNELENV"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/hyperkit.git
git@gitee.com:mirrors/hyperkit.git
mirrors
hyperkit
hyperkit
master

搜索帮助