YADM repo for system level files
Find a file
2024-12-25 22:21:11 +01:00
etc chore: replace gitea with forgejo 2024-12-25 22:21:11 +01:00
opt chore: replace gitea with forgejo 2024-12-25 22:21:11 +01:00
usr/local/jilits feat: add sysyadm initialization script 2024-12-20 23:46:22 +01:00
README.md feat: add sysyadm initialization script 2024-12-20 23:46:22 +01:00

JILITS System Files Repository

This repository contains system configuration files managed by yadm for simplified deployment and bootstrap of system files.

System Initialization Instructions

To set up the repository on a fresh system, use the provided one-liner below to download and execute the initialization script.The script initializes, clones, and configures yadm for system-wide usage.

curl -fsSL https://git.jilits.se/JILITS/sysfiles/raw/branch/main/usr/local/jilits/sysyadm-init.sh -o /tmp/sysyadm-init.sh && bash /tmp/sysyadm-init.sh

Initialization Prerequisites

  • System Requirements: A Debian-based system (Ubuntu, Debian, etc.).
  • Git Access: Ensure you can add the SSH key to the Git server (git.jilits.se).

Generated SSH Key

The script generates an SSH key for the root user if it does not already exist. The public key will be printed during execution. Make sure to add the SSH key to the Git server to allow cloning.

Troubleshooting

If the script fails:

  1. Ensure you are not running the script as the root user.
  2. Verify internet connectivity and access to the Git repository.
  3. Check that you have permissions to install packages using sudo.