A semi-automatic & configurable Arch Linux installer script written in Python.
Actual script configuration is done in the config.py
module & custom_setup()
method found at the top of setup.py
.
You should already be familiar with Arch Linux before using this and be prepared to fix stuff yourself as things may and inevitably will go wrong.
DISCLAIMER: This is still alpha
state software and will keep changing in the future.
The following examples expect you to already be booted into the ArchISO environment.
To fetch and run the script, one can execute:
curl https://git.io/JemEQ -Lo setup.py
python setup.py
# Fetch a copy of config.py as suggested by the script and edit it to suit your needs!
# Afterwards launch the script again and follow the instructions
python setup.py
For remote deployment of the scripts to a system (e.g. Virtual Machine) via ethernet I've been using the following:
TARGET #
passwd – required to use SSH
systemctl start sshd – launching the SSH server Daemon
ip a – get live system IP for SSH / file transfer (e.g. 192.168.1.105)
Then to transfer the scripts via terminal from the current directory to the target system:
HOST $ scp *.py [email protected]:/root/
[email protected]'s password:
config.py 100% 6246 2.3MB/s 00:00
setup.py 100% 111KB 73.3MB/s 00:00
Using the script is as simple as running it like any other (Python) executable:
TARGET # ./setup.py
The rest should be self-explanatory when following the instructions during install :)
The config.py
file has some options with long lists of available values; they're all catalogued here for your convenience:
To follow the progress and view the commands being run by the script, switch to another TTY / login via SSH and do:
TARGET # tail -f /tmp/setup.log
NOTE: This will need to be ended with Ctrl
+ C
when entering chroot as the file gets moved, then run this command again.
Once the system is installed the log will be moved to /var/log/setup.log
on the target system for further investigation / removal.
Coming soon™️