- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| conf/firecracker | ||
| etc | ||
| .gitignore | ||
| 01-setup_host.sh | ||
| 02-launch_vm.sh | ||
| 98-terminate_firecrackers.sh | ||
| 99-cleanup.sh | ||
| create-arch-rootfs.sh | ||
| README.md | ||
| tmpl.sh | ||
| variables | ||
firecracker-arch
Project Goal(s)
My goal with this project is to be able to quickly spin up a VM on my home network
possibly available outside of my home network by adding them to my tailscale network
for experimentation that looks identical --- i.e., running Arch Linux with my dotfiles ---
to my host development machine. In the future, I'd like to try to mount my $HOME
into the VMs via something like upspinfs
so that I don't have to worry about checking changes into git and pulling them
down everywhere, etc. I've experienced the challenge of maintaining my dotfiles
between my work and personal machines and I struggle to check in changes.
Getting Started
-
Build a root filesystem and uncompressed kernel.
Note(s): here are the official docs.
./create-arch-rootfs.shThis will create a user
rootwith a default passphrase ofroot. -
Create a bridge network interface on your host.
-
Start a VM with an alias of
foobar../02-launch_vm.sh foobar