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
On the host:
python serve.py --config <path_to_config>
On the new server:
curl http://<ip>:<port>/dl.sh | sh
./install.sh
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