build success

This commit is contained in:
iceBear67
2026-06-05 17:56:39 +08:00
parent 87e76877ca
commit ab9b4c7e13
8 changed files with 34 additions and 58 deletions

2
scripts/entrypoint.sh Normal file → Executable file
View File

@@ -2,7 +2,7 @@
set -euo pipefail
/usr/bin/cloud-hypervisor \
--kernel /image/vmlinuz --initramfs /image/initramfs --disk path=/image/vm.raw \
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt --disk path=/image/vm.raw \
--cmdline "root=/dev/vda rootfstype=ext4 modules=ext4a rw console=hvc0" \
--cpus boot=${CPU_COUNT:-4} \
--memory size=${MEMORY:-4G},shared=on \