jtagcat
a834bffeec
user_interaction: Explicitly ask for username on super-user creation.
2021-04-21 14:20:22 +00:00
Владислав
6e5ea3aa65
Fix selecting language layout by name
2021-04-17 10:56:46 +03:00
Anton Hvornum
6eab0290ae
Spelling error
2021-04-15 17:06:43 +02:00
Anton Hvornum
3f101be225
Increased margin to facilitate error output
2021-04-14 13:21:15 +02:00
Anton Hvornum
7f29f9d283
Added a default keyboard layout
...
This is just in case either the search step or the selector inputs nothing.
Something has to be set, and the default is US.
2021-04-14 13:14:12 +02:00
Anton Hvornum
c07d286f57
Modified return value back to {}
2021-04-14 11:58:51 +02:00
Anton Hvornum
91723e7dd9
Reverted back to raise
2021-04-14 11:55:40 +02:00
Anton Hvornum
5aad809274
Converted back to a raise exception.
...
Since we simply forgot to actually call `raise` here (my bad) I think that will be better, and we handle it where we need to.
2021-04-14 11:10:09 +02:00
advaithm
8e9a09a8ff
typo
2021-04-14 14:18:18 +05:30
advaithm
efd23e67d6
return {} not None
2021-04-14 14:07:22 +05:30
advaithm
757aa15f95
git automerge removed some important stuff
2021-04-14 14:05:37 +05:30
advaithm
3347d04bfa
fixed issues raised in a review
2021-04-14 13:46:47 +05:30
Anton Hvornum
8429510736
Pulled in master to avoid merge conflicts.
2021-04-10 11:22:15 +02:00
advaithm
dd61830d2b
fixed some typos and changed up how we detect if we have to enable/install network manager
2021-04-09 11:50:31 -04:00
advaithm
46c43b25a6
moved around the if block
2021-04-09 11:50:31 -04:00
advaithm
75a36e2fdc
fixed typo
2021-04-09 11:50:31 -04:00
advaithm
cab53ef8f6
networkmanager support
2021-04-09 11:48:20 -04:00
Dylan Taylor
45c321e327
Assume yes is the user's intention if empty response for pipewire prompt
2021-04-09 11:47:40 -04:00
Anton Hvornum
9312076cfe
Change phrasing to indicate pulseaudio as default
2021-04-09 11:46:59 -04:00
Dylan M. Taylor
b803c281ea
Move choice into guided installation instead of DEs
...
Arch wiki says packages should enable the user services automatically
2021-04-09 11:46:24 -04:00
Anton Hvornum
bd134c5db0
Moved the 'use /mnt' logic to during disk selection.
2021-04-09 17:33:44 +02:00
Anton Hvornum
f298b9e393
Added a 'use /mnt' option to the formatted #124 . This has not yet been tested, but the logic should work according to the new API layout for Installation().
2021-04-09 15:27:22 +02:00
Anton Hvornum
e5c118239b
Merge pull request #250 from insanemal/insanemal-patch-2
...
OOB in generic_selection
2021-04-09 08:05:42 +00:00
Insanemal
acc2dac652
Off by one in generic_selection out of bounds check
...
Out of bounds check in generic_selection is using >= on list. Lists are zero based. If you put in a value that equals the number of items in the list you get an out of bounds error.
Removed the equals part of the test as last item in list/dictionary items is len(list)-1 not len(list)
2021-04-09 13:44:51 +10:00
Anton Hvornum
b5245b31fe
I simplified the countdown, by moving it into it's own function instead of wrapped inside guided.. This can now be used by others for a simple countdown. I also re-worked the minimal.py example to work with the new internal partitioning logic API as well as support some flags from archinstall.arguments to minimize user input requirements to just one single question. This one question will most likely go away too, but stays for simplicity right now.
2021-04-08 21:14:19 +02:00
Anton Hvornum
1a09ad7bff
Merge pull request #188 from SecondThundeR/master
...
Fix incorrect behavior for empty sudo username
2021-04-06 07:16:46 +00:00
SecondThundeR
924b369233
Fix incorrect behavior for empty sudo username
2021-04-05 23:13:27 +03:00
Anton Hvornum
824656a990
Merge pull request #170 from SecondThundeR/master
...
Add validation check for username
2021-04-05 16:39:04 +00:00
SecondThundeR
ed2187ee70
Update regex rule and move check to a function
2021-04-05 19:22:48 +03:00
SecondThundeR
5de1154ce9
Replace lowercase conversion with correct checking
2021-04-05 18:38:21 +03:00
Zach Osman
69a8730845
Removing background color definitions for all log functions
2021-04-04 16:14:13 -04:00
SecondThundeR
992ee851d4
Add lowercase conversion for usernames
2021-04-04 22:12:31 +03:00
Rafael Fontenelle
2b5b1ad83d
Fix misspellings
2021-04-04 11:28:54 -03:00
Anton Hvornum
bb295cb83a
Fixes #149 as well as --help. This will be added in the next patch release.
2021-04-03 11:25:34 +02:00
kpcyrd
40dbb5791c
Add range check to disk selection
2021-03-30 16:24:48 +02:00
kpcyrd
82342a0e94
Add range check to generic_select
2021-03-30 16:12:52 +02:00
Anton Hvornum
4c5be61918
Merge pull request #123 from Torxed/torxed-v2.2.3
...
Reverting .strip() logic and moving the check into the get_password()…
2021-03-29 08:21:42 +00:00
Anton Hvornum
36dfa2e1c4
Reverting .strip() logic and moving the check into the get_password() function.
2021-03-29 10:20:35 +02:00
Didr
f452dc695a
Fix spelling error in filesystem choice
...
Fixes a simple spelling error when the user is asked to select a filesystem.
"Select which filesystem your main partition should use (by number **of** name)" should be **or**.
2021-03-29 10:16:20 +02:00
Anton Hvornum
37a6018aae
Fixed a path-check issue with Time Zones.
2021-03-28 22:36:47 +02:00
Anton Hvornum
037332a18d
Removed vfat as an option for the root partition
2021-03-24 15:26:32 +01:00
Anton Hvornum
a3aef119b2
Improved english grammar and dialogues. Some 'questions' were formatted in a way where the user would enter 'yes' instead of the expected input. For instance, 'Any additional users to install:' which is a question where 'yes' is a appropriate response, but the expected input was the username to be created. Rephrased it to 'Enter a username to create a additional user:' instead for instance.
2021-03-21 21:30:52 +01:00
Anton Hvornum
f3b93c1c1c
Removed search logic for mirrors since we now have column-printouts, the columns enabled us to print all the regions which means the search was an excessive feature.
2021-03-20 22:15:42 +01:00
Ninchester
42ba36b5d8
Fix number padding based on length of the highest option index - instead of using zeroes, now spaces are used
2021-03-20 22:01:00 +01:00
Ninchester
6dea24ad22
Make option list 0-index based
2021-03-20 21:51:57 +01:00
Ninchester
0318125a7b
Add margin at the bottom
2021-03-20 21:48:34 +01:00
Ninchester
9f87b6963d
Print options in columns
2021-03-20 21:41:56 +01:00
Anton Hvornum
e209767d13
Added helper functions for #81 . So that we have a basic information about the terminal when outputting large lists/options.
2021-03-20 18:26:38 +01:00
Anton Hvornum
b67257233f
Fixed #64 . installation.set_timezone() already excisted since earlier versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc.
2021-03-20 17:26:48 +01:00
Anton Hvornum
37b1e61828
Corrected some spelling errors and wrong variables.
2021-03-14 14:00:52 +01:00