Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helpful tips for saving config files in a directory #2803

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jackdesert
Copy link
Contributor

@jackdesert jackdesert commented Nov 14, 2024

PR Description

The first few times I used archinstall, I struggled with saving config files to a directory. It sounds easy, I know. But at the time I kept getting errors and finally gave up saving any config files at all.

This PR makes it obvious why tab-completion is a boon in this scenario. It also gives a couple useful working locations, and it clarifies that extra steps are needed if you want your config files to persist through a boot cycle.

Here is a screenshot showing the updated text:
2024-11-14 15 42 46

Tests and Checks

  • I have tested the code!

@jackdesert jackdesert requested a review from Torxed as a code owner November 14, 2024 20:44
@@ -148,7 +148,15 @@ def preview(selection: str) -> Optional[str]:
while True:
path = input(
_(
"Enter a directory for the configuration(s) to be saved (tab completion enabled)\nSave directory: "
'''\
Into which DIRECTORY should the configuration(s) be saved?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is goind to output every time someone presses which is quite annoying
image

I would be better to show this output only once on the top

@Torxed
Copy link
Member

Torxed commented Nov 15, 2024

Maybe we could mention that the current installation is mounted under /mnt/archinstall as well? In case they want to save it to their recently installed system - instead of them having to manually mount something?

Or simply:

Do you want to save your configuration choices as a JSON file in your newly installed system?

Yes / No

And then put it somewhere safe?

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.

3 participants