Add CLI tool for system configuration

Open
#4,249 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python

Research direction

Start by reviewing the proposed archconf command, its options, and the linked Arch Linux installation guide section. No source file, entry point, or test is named; the work is done when the requested CLI can configure the listed system settings under the supplied root and its behavior is covered by an agreed scope and tests.

Written by the indexing model from the issue text.

Description

Add a CLI tool called archconf to help configure the system during a manual installation.

$ archconf --help
usage: archconf [options] root

Options:
 -t, --timezone <Area/Location>    Set system timezone (e.g., Europe/Berlin)
 -g, --gen-adjtime                 Generate /etc/adjtime for hardware clock
 -l, --locale <locale>             Set system locale (e.g., en_US.UTF-8)
 -k, --keymap <keymap>             Set console keymap (e.g., de-latin1)
 -n, --hostname <name>             Set system hostname
 -h, --help                        Display this help message
 -V, --version                     Display version

Example usage:

# archconf \
> --timezone Area/Location \
> --gen-adjtime \
> --locale en_US.UTF-8 \
> --keymap de-latin1 \
> --hostname yourhostname \
> /mnt

Would anyone want something like this?

Dominant language
Python
Stars
8.4k
Forks
775
Avg merge
4d 8h
Merged PRs (30d)
23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from archlinux/archinstall

All issues in archlinux/archinstall

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.