mirror of
https://github.com/coko7/archy-factory.git
synced 2026-11-05 08:15:39 +00:00
🏗️ Automated Arch Linux install factory — spin up VMs and bootstrap unattended archinstall setups via a one-line curl script.
arch-install
arch-linux
archinstall
archlinux
automation
bash
bootstrap
devops
dotfiles
kvm
libvirt
linux
provisioning
qemu
virt-install
- Shell 97.4%
- Lua 2.6%
| archinstall | ||
| docs | ||
| dotfiles | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
🏗️ archy-factory
My own automated Arch Linux install factory, to spin up VMs and bootstrap archinstall with a few bash scripts.
Usage
Download ISO
First download the latest Arch Linux ISO file:
bash ./scripts/dl-arch-iso.sh
Create the Virtual Machine
Run the create-vm.sh and pass the ISO path as first argument:
bash ./scripts/create-vm.sh ./isos/archlinux-x86_64.iso
At this point, the VM should have been created and started.
Connect to the VM
Attach to the VM using Virtual Machine Manager or virt-viewer:
virt-viewer --connect qemu:///system archlinux
Then go through the boot loader to go into installing Arch.
Fetch archinstall.sh
Tip
Skip this if you don't care about my dotfiles.
Once you are arch-chroot-ed, fetch my custom archinstall.sh script:
# Run the custom archinstall.sh
curl -sL df.lazyfreax.dev/archinstall.sh | bash
# or
bash <(curl -sL df.lazyfreax.dev/archinstall.sh)