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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion archinstall/lib/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


TIPS
1. Tab completion is enabled to help you locate a full directory name
2. To persist a configuration file through a reboot, mount a separate drive before running `archinstall`
3. If you are not sure what to choose, try "." or "/"

Save Directory: '''
)
).strip(" ")
dest_path = Path(path)
Expand Down