Go to file
2024-06-07 20:23:23 -07:00
assets Fix handling of potential script outcomes, add README.md 2024-06-07 20:23:23 -07:00
scripts Fix handling of potential script outcomes, add README.md 2024-06-07 20:23:23 -07:00
.env Fix handling of potential script outcomes, add README.md 2024-06-07 20:23:23 -07:00
.gitignore Update .gitignore 2024-06-07 19:26:38 -07:00
README.md Fix handling of potential script outcomes, add README.md 2024-06-07 20:23:23 -07:00
setup.sh Fix handling of potential script outcomes, add README.md 2024-06-07 20:23:23 -07:00

flintlock_firecracker

helper scripts that build firecracker, flintlock, and set up containerd along with the libvirtd networking as per flintlock docs.

essentially just automates everything they outline in the flintlock docs.

please read every script in this repo if you're going to use this, there's a lot of sudo fuckery in there. with that said, the mechanisms at play here should be fairly tidy and very robust.

usage

in theory, just run ./setup.sh

in reality, there's a reasonable chance that this is only that seamless on my machine. ymmv :^)

dipswitches

.env is the config, if .env is not present it copies the template from assets/env-template

  • BRIDGE flintlock/libvirtd bridge interface name
  • TAPNAME flintlock/libvirtd TAP interface name
  • LVNET libvirtd network name
  • BINDIR location in path where firecracker and flintlock bins will be installed
  • CTRD containerd namespace name
  • NET_DEVICE bridge target for VM networking