Install archlinux and config based on a yaml configuration
- Just Learning yaml :)
Then we can clone this template or download script directly
wget archinstaller.ml -O ArchInstaller
# or git clone https://github.com/FakeSudo/ArchInstaller
chmod +x ArchInstaller
./ArchInstaller # or ./ArchInstaller {url}
NOTE: before running Installer write config.yaml or pass a pastbin or git gist url to script
Config will separate into user settings that run after Installation and root settings
-
username
-
Note : defualt password is 'password' and you can change it after reboot
-
hostname
-
locale
common:
en_US.UTF-8 UTF-8
-
timezone
Find your timezone with
timedatectl list-timezones
-
shell
Default user shell
common:
/bin/bash
-
drive
-
blk
The hard drive you want to install arch on it
example:
/dev/sda
-
erase
Format the hard drive don't enable this field unless you know what are you doing
example: Boolean value
-
partitions
List of partition to create Contains:
-
size in
K/M/G
format -
filesystem
type of the partition
commons:
uefi/linux/swap & all fdisk types
-
number
the number of the primary partition
-
for more information read
fdisk
manual -
-
base packages
Packages needed for booting the system
-
base daemons
-
custom script
-
aurhelper
common:
yay/paru
-
user packages
-
user daemon
Note: if you configured user setting you should rerun installer command after reboot