1.3 KiB
1.3 KiB
Elf OS
Work in progress! slowly but surely.
An install script I (LailaTheElf) use to install Arch Linux on my computers. I use this for my desktop (elfDesktop) and laptop (elfLaptop).
Usage
./elf_os.sh <config_file> <action>
action:
install: install the full os
reinstall_a: re install os on system A
reinstall_b: re install os on system B
bootloader: re setup the bootloader
The config file is included with bash. The following options are available:
HOSTNAME: hostname for the machineUEFI_DISK: path to disk to store the UEFIDISK: path to disk to store the os dataUSERNAME: username of the first userSSH_KEY_REPO: url to git repository to gather ssh public keysUSER_SSH_KEYS: list (space separated) of filenames in theSSH_KEY_REPOto add to the authorized_keys ofUSERNAMEENCRYPT_DISK: 'true' to enable LUKS disk encryptionSFDISK_FILE: sfdisk backup file with the partiton informationUEFI_PARTITION: partition to use for UEFI (for example${UEFI_DISK}1)SWAP_PARTITION: partition to use for swap (for example${DISK}2)ROOT_PARTITION: partition to use for data (for example${DISK}3)INSTALL_PARTS: list (comma or space separated) of parts to run after instalation. Parts are stored in configs/install_<part_name>.sh