Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
AgeCommit message (Collapse)Author
2021-04-09Fixing broken logic in guidedAnton Hvornum
2021-04-09Moved the 'use /mnt' logic to during disk selection.Anton Hvornum
2021-04-09Removed some debuggingAnton Hvornum
2021-04-09Added some debuggingAnton Hvornum
2021-04-09Added a 'use /mnt' option to the formatted #124. This has not yet been ↵Anton Hvornum
tested, but the logic should work according to the new API layout for Installation().
2021-04-08I simplified the countdown, by moving it into it's own function instead of ↵Anton Hvornum
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-08Add filtration on top level profileDylan Taylor
2021-04-08added _post_install hook.advaithm
2021-04-08Update guided.pyadvaithm
2021-04-08Break web browser suggestion into second line to avoid wrappingDylan M. Taylor
2021-04-08Moved the print logic for browser warningAnton Hvornum
2021-04-08Add a message about specifying a web browserDylan M. Taylor
2021-04-04Removing background color definitions for all log functionsZach Osman
2021-04-04Merge branch 'master' into fix-repo-urlAnton Hvornum
2021-04-04Update repo to archlinux/archinstallRafael Fontenelle
2021-04-04Fix misspellingsRafael Fontenelle
2021-04-03Fixes #149 as well as --help. This will be added in the next patch release.Anton Hvornum
2021-03-29Removing a flush of the cache that was excessive.Anton Hvornum
2021-03-29Reverting .strip() logic and moving the check into the get_password() function.Anton Hvornum
2021-03-29Adding some overclarification to encryption checks.Anton Hvornum
2021-03-29Fixing un-encrypted drives matching on block encrypted.Anton Hvornum
2021-03-21Improved english grammar and dialogues. Some 'questions' were formatted in a ↵Anton Hvornum
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-21Fixed an issue where brand new disks (no partitions), got protected by a ↵Anton Hvornum
safety measurement where .keep_partitions were set to True by default.
2021-03-20Fixed #64. installation.set_timezone() already excisted since earlier ↵Anton Hvornum
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-20Fixed #101. Now warns the users after they skip the network configuration.Anton Hvornum
2021-03-14Removed evil .format(ext4) which was a remenant from the old days.Anton Hvornum
2021-03-14Spelling error.Anton Hvornum
2021-03-14More error handling to encrypted vs not encrypted partitions.Anton Hvornum
2021-03-14Added some error handling to disk encryption passwords.Anton Hvornum
2021-03-14Added error handling for unlocking an old partition (autodetect feature).Anton Hvornum
2021-03-14Corrected some spelling errors and wrong variables.Anton Hvornum
2021-03-14Removed redundant error handling as well as added some more debug logs.Anton Hvornum
2021-03-09Purged last legacy, setting the root pwAnton Hvornum
2021-03-09fixed a global variable as well as re-organized the guided.py to better ↵Anton Hvornum
match the flow of steps.. 1) Ask user questions function, 2) Perform installation steps, 3) Perform actual installation
2021-03-09Moved everything into a function block rather than having everything on a ↵Anton Hvornum
line by line situation. This just helps separate what the two major components/blocks are of the guided profile. The change was done in the previous commit, but a spelling mistake was made here and I forgot to mention it in the already long commit log. But user-questions is now in one function. Installation steps are now in a two-tier function, one for setup and one for install steps.
2021-03-09Fixed remaining installation steps and remove legacy references to ↵Anton Hvornum
archinstall.storage['_guided'] and archinstall.storage['_guided_hidden']. Which were great at the time, but they are not deprecated and moved into archinstall.arguments instead to support parameters on command-line. As well as being a bit more description, since they are arguments afterall to various setup instructions.
2021-03-09Fixed mirror-region parameter selection. Converting to actual mirrors.Anton Hvornum
2021-03-09Forgot a variable.Anton Hvornum
2021-03-09Adding enforcement to select a filesystem-type for encrypted volumes unless ↵Anton Hvornum
the specified pasword can be used to unlock the device and auto-detect this.
2021-03-09Removed hardcoded partition numbers when acessing partitions. As the order ↵Anton Hvornum
is not fixed and more options to disk layouts have been added.
2021-03-09Marking the root partitions as encrypted if a disk password is set. In the ↵Anton Hvornum
future, we need to make this a bit more flexible by allowing multiple partitions to be encrypted. But for now, the main partition should be enough.
2021-03-09Adding encryption helpers to the Partition() class, that sets up and ↵Anton Hvornum
utilizes luks2.encrypt() in extension.
2021-03-08Tweaked the guided steps up until the installation.Anton Hvornum
2021-03-08Optimization, safe_to_format() now checks partition.allow_formatting as a ↵Anton Hvornum
condition.
2021-03-08Added two new functions. partition.safe_to_format() and ↵Anton Hvornum
partition.has_content(). The first does some sanity checks to verify if we can format the partition or not. The second temporarly mounts the parition and checks if there's content inside and returns accordingly.
2021-03-08Reworked the guided partitioning logic to better match new expectations of ↵Anton Hvornum
flexability. Still some work to be done and features to be implemented, but the structure is taking place
2021-03-08Removing part of the old formatting scheme. New implementation roughly 80% done.Anton Hvornum
2021-03-08Added some debugging.Anton Hvornum
2021-03-08Added some debugging.Anton Hvornum
2021-03-08Tweaked logging slightly.Anton Hvornum