Skip to content

Conversation

@svartkanin
Copy link
Collaborator

@svartkanin svartkanin commented Aug 13, 2025

To avoid further confusion as in #3725 and #3517

The unattended.py script is broken in its current state and has been for a significant time.

From https://github.com/archlinux/archinstall?tab=readme-ov-file#unattended-installation-based-on-mac-address

Archinstall comes with an unattended example which will look for a matching profile for the machine it is being run on, based on any local MAC address. For instance, if the machine the code is executed on has the MAC address 52:54:00:12:34:56 it will look for a profile called 52-54-00-12-34-56.py. If it's found, the unattended installation will begin and source that profile as its installation procedure.

I'm don't think this still has any value at this point, the profiles were reworked a long time ago and it is now possible to create profile classes that can be implemented and dynamically used.

@Torxed please tell me if I'm wrong here

@svartkanin svartkanin requested a review from Torxed as a code owner August 13, 2025 11:28
@Torxed
Copy link
Member

Torxed commented Aug 27, 2025

I'm inclined to agree, I have used this quite extensively in the past.
However it's probably more reliable and easy to do archinstall --conf-url https://x.local/$(cat /sys/class/net/enp0s3/address).json and define the profile that way per MAC address.

This made more sense in the past when archinstall did this automatically from the main script.

@Torxed Torxed merged commit 663e46f into archlinux:master Aug 27, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants