Use local resources (cpu, memory and disk storage) for creating fully-automated environment for research and development.
System packages:
- cdrkit (for mkisofs)
- cloud-utils (for preparing VM initialization media)
- curl
- git
- unzip
Base software:
Terraform providers:
apt update && apt install -y \
cloud-image-utils \
curl \
genisoimage \
libvirt-clients \
libvirt-daemon-system \
make \
qemu \
qemu-kvm \
qemu-system-x86 \
unzip
gawk -i inplace -f- /etc/libvirt/qemu.conf <<'EOF'
/^#*user[^=]*=/ { $0 = "user = \"root\"" }
/^#*group[^=]*=/ { $0 = "group = \"root\"" }
/^#*security_driver[^=]*=/ { $0 = "security_driver = \"none\"" }
{ print }
EOF
systemctl restart libvirtd
make requirements
make alpine-disk confirm a1-destroy a1-apply
If you're using NixOS you can just enter Nix shell and continue from there:
nix-shell
make requirements
make alpine-disk confirm a1-destroy a1-apply