New installation method

This commit is contained in:
2025-04-05 10:11:03 +02:00
parent 3bfa4c5988
commit c690fcb6fe
4 changed files with 18 additions and 7 deletions

15
pre/run.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
REPO=https://git.xoservice.nl/marcel/archlinux
curl -O $REPO/raw/master/pre/users.crypt
gpg --output users.json --decrypt users.crypt
if test -s ./users.json;
then
archinstall --config $REPO/raw/master/pre/config.json --creds ./users.json --silent
reboot
else
echo "users.json not found in current directory or file is empty"
exit 1
fi