Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index c03b2e0f..100288f3 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,17 @@ Or use `pip install --upgrade archinstall` to use as a library.
Assuming you are on an Arch Linux live-ISO and booted into EFI mode.
- # python -m archinstall guided
+ # python -m archinstall --script guided
+
+
+## Running from a declarative [config](examples/base-config.json)
+
+Prequisites:
+ 1. Edit the [config](examples/base-config.json) according to your requirements.
+
+Assuming you are on a Arch Linux live-ISO and booted into EFI mode.
+
+ # python -m archinstall --config <path to config file> --vars '<space_seperated KEY=VALUE pairs>'
# Help?
@@ -143,7 +153,7 @@ This can be done by installing `pacman -S arch-install-scripts util-linux` local
# losetup -fP ./testimage.img
# losetup -a | grep "testimage.img" | awk -F ":" '{print $1}'
# pip install --upgrade archinstall
- # python -m archinstall guided
+ # python -m archinstall --script guided
# qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./testimage.img,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_CODE.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_VARS.fd
This will create a *5 GB* `testimage.img` and create a loop device which we can use to format and install to.<br>