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.
-
Build a root filesystem and uncompressed kernel.
Note(s): here are the official docs.
./create-arch-rootfs.sh
This will create a user
root
with 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