mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-23 15:30:59 +00:00
Expose 28 tools with shared REST operations, role-scoped bearer authentication, revisions, durable retries, snapshots, jobs and timed rollback. Add Docker verification harnesses and setup/workflow documentation in docs/mcp.md and inst.md. Validated with 330 unit tests, two consecutive 25-case MCP/import runs, and restart recovery; the full upstream regression run remains incomplete.
16 lines
660 B
Bash
16 lines
660 B
Bash
#!/bin/sh
|
|
set -eu
|
|
mkdir -p /results
|
|
chmod +x /guest/test/tests/mcp_vm_init.sh
|
|
truncate -s 5G /tmp/guest.img
|
|
mkfs.ext4 -q -F -d /guest /tmp/guest.img
|
|
exec qemu-system-x86_64 -machine accel=tcg -cpu max -smp 4 -m 2048 \
|
|
-display none -serial stdio -monitor none -no-reboot \
|
|
-kernel /kernel -initrd /initrd \
|
|
-drive file=/tmp/guest.img,format=raw,if=virtio \
|
|
-nic user,model=virtio-net-pci \
|
|
-device virtio-rng-pci \
|
|
-fsdev local,id=results,path=/results,security_model=none \
|
|
-device virtio-9p-pci,fsdev=results,mount_tag=results \
|
|
-append 'root=/dev/vda rw console=ttyS0 init=/test/tests/mcp_vm_init.sh panic=-1 quiet noresume'
|