acj/FreeBSD Firecracker VM

Launch a FreeBSD VM in Firecracker and run a script inside it

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: acj/freebsd-firecracker-action@bfdf2c8588fe913617bc393067e581bfe4e77706 # v0.10.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
kernel-urlnohttps://github.com/acj/freebsd-firecracker/releases/download/v0.10.1/freebsd-kern.bin
rootfs-urlnohttps://github.com/acj/freebsd-firecracker/releases/download/v0.10.1/freebsd-rootfs.bin.xz
firecracker-urlnohttps://github.com/acj/freebsd-firecracker/releases/download/v0.10.1/firecracker
ssh-public-key-urlnohttps://github.com/acj/freebsd-firecracker/releases/download/v0.10.1/freebsd.id_rsa.pub
ssh-private-key-urlnohttps://github.com/acj/freebsd-firecracker/releases/download/v0.10.1/freebsd.id_rsa
pre-runAn optional script to run before starting the FreeBSD virtual machine. This script runs on the host. By default, it copies the contents of the workspace directory into the VM. noexclude_path="$(mktemp)" cat <<EOF > $exclude_path .git .github .gitignore .gitmodules LICENSE README.md README.txt README action.yml EOF rsync -r -e "ssh" \ --relative \ --copy-links \ --exclude-from "$exclude_path" \ . firecracker: rm -f "$exclude_path"
run-in-vmThe script to run inside the FreeBSD virtual machineyes
post-runAn optional script to run after the `run-in-vm` script exits. This script runs on the host. By default, it copies the contents of the VM's `/root` directory into the workspace directory. norsync -r -e "ssh" \ --relative \ --copy-links \ --exclude-from "$exclude_path" \ firecracker: .
checkoutnotrue
continue-on-errornofalse
verbosenofalse
disk-sizeno2G
vcpu-countNumber of vCPUs to expose to the VM. Use "auto" to match the host's logical core count.noauto

no outputs