quinten1333 / Arch-installer

My build infrastructure for provisioning new arch server installations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An arch install system with an over engineered server

This arch install system will install arch linux with:

  • fat16 as boot parition
  • ext4 as root partition
  • Download all packages supplied in the config
  • Install fstab
  • Set the hostname
  • Install grub
  • Create a user
  • Add the user to the groups specified in the config
  • Disallow password authentication for SSH connections
  • Allow users of the wheel group to call sudo
  • Enable all services supplied in the config

Running the default installer:

On the host:

python serve.py --config <path_to_config>

On the new server:

curl http://<ip>:<port>/dl.sh | sh
./install.sh

Using custom install scripts

It is possible to serve your own install directory. When creating the dl.sh script the server will list the content of the whole directory and will make a script which downloads the whole content of the directory.

On the host:

python serve.py --dir <path_to_directory>

On the new server:

curl http://<ip>:<port>/dl.sh | sh
# Your own entrypoint

About

My build infrastructure for provisioning new arch server installations


Languages

Language:Shell 69.6%Language:Python 30.4%