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
Anton Hvornum
6306de4bfe
Reworked the guided partitioning logic to better match new expectations of flexability. Still some work to be done and features to be implemented, but the structure is taking place
2021-03-08 16:52:06 +01:00
Anton Hvornum
476006abe8
Fixed expected return value from ask_for_disk_layout(). I think I have to throw an eye on generic_select() and it's expected return value in general.. But that's later.
2021-03-08 14:51:18 +01:00
Anton Hvornum
94daa8b98b
Added a abort message
2021-03-08 14:47:41 +01:00
Anton Hvornum
775a26f738
Added a abort message
2021-03-08 14:47:24 +01:00
Anton Hvornum
8da8608e22
Added a small menu instead of a one-liner to select what to do with the disk if it has partitions.
2021-03-08 14:42:43 +01:00
Anton Hvornum
ad8389ccaf
Removed redundant variable
2021-02-17 14:29:13 +01:00
Anton Hvornum
20b343c993
Added some forgotten imports
2021-02-17 14:24:48 +01:00
Anton Hvornum
ad4733bbd0
Simplified profile prep-execution slightly in guided.py. The code can be improved further but it's now more easily read what's going on.
2021-02-17 14:21:46 +01:00
Anton Hvornum
758b12e674
Simplifying the profile loading a bit, and adding some debugging for it.
2021-02-17 13:59:44 +01:00
Anton Hvornum
572d59e560
Cleaning up guided.py a bit to be less complex and convoluted, while still performing the same task.
2021-02-17 13:30:14 +01:00
Anton Hvornum
5cb3b0d176
Implemented #106 in branch skip-partitioning. Also moving the disk_password from being a local variable to a BlockDevice setting/variable.
2021-02-17 12:24:56 +01:00
Anton Hvornum
b3bcf54a2c
Fixed generic_select() to accept (and break on) empty selects.
2020-11-11 20:20:46 +00:00