Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
AgeCommit message (Collapse)Author
2020-11-11Fixed generic_select() to accept (and break on) empty selects.Anton Hvornum
2020-11-11Asking user for interface-names rather than MAC address. Should probably ↵Anton Hvornum
print the current IP if any, which would make it easier to identify
2020-11-11Fix for generic_select() call.Anton Hvornum
2020-11-11Adding network support (questions) to guided.py according to #65. Previous ↵Anton Hvornum
commit added the functionality to configure the nic inside the installation.
2020-11-08Fix for #61. Variable mix-matches should be fixed and tested now. There's ↵Anton Hvornum
also slightly better debug output to show where the issue is rather than just 'AttributeError'.
2020-11-08Fixing a variable missmatch in #61. The global configuration snapshot (that ↵Anton Hvornum
is used for debug printing) does not contain the password for the new user (for safety reasons). So we can no longer get the password from that snapshot, but instead we have to get it from the global variable users (:dict).
2020-11-08Fixing issues with lists being passed instead of stringsLord Anton Hvornum
2020-11-08Fixed variable issues and version bumpLord Anton Hvornum
2020-11-08Variable type-o issue.Anton Hvornum
2020-11-08Updated documentationAnton Hvornum
Related to the new log features.
2020-11-05Added the overall guided config into the installer log. This applies to the ↵Anton Hvornum
guided template only.
2020-11-04Forgot to remove self. reference when copying some code.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-19Fix typo in function parameterVarun Madiath
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19Fix typos.Varun Madiath
2020-10-18Changed my mind, reverting to the original sig-handler is better.Anton Hvornum
2020-10-18Revert to a some what default sig-kill handler. (needs some adjustments just ↵Anton Hvornum
to clean up things, but I think it will do for now)
2020-10-18Reverted some changes. It was to 'complicated' to get status of the ↵Anton Hvornum
sys.stdin buffer while it did not contain a new-line character. So reverted that code. Here is an interesting read, but a bit to much code for a simple guided template: https://stackoverflow.com/a/41459565/929999
2020-10-18Added a slightly convoluted but non-intrusive 'are you sure?' on Ctrl+C/any ↵Anton Hvornum
input.
2020-10-18Tweaked the output a little.Anton Hvornum
2020-10-18Tweaked the _guided storage. One variable was a loaded module, which is hard ↵Anton Hvornum
to convert to json in a meaningful way.
2020-10-18Forgot an import, as well as made BlockDevice() have less verbose output on ↵Anton Hvornum
json.dumps.
2020-10-18Added a JSON serializer for certain non-json objects.Anton Hvornum
2020-10-18Added a test version trying to solve #43.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Added error handling to guided.py when not selecting a profile to install.Anton Hvornum
2020-10-18Implementing error handling for #50. So that the errors do not come at the ↵Anton Hvornum
very end, but in the beginning right after the user inputted something (quicker feedback to the user).
2020-09-30Tweaked the import logic so that the Imported() class returns the actual ↵Anton Hvornum
module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.
2020-09-07Fixed #48 - Removed AUR question in the guided installer. (library still ↵Anton Hvornum
supports it, but will be hidden from common users)
2020-09-01Made waiting for reflector mandatory. Which should fix issue #47.Anton Hvornum
2020-09-01systemctl spits out some colors, so logic had to be changed.Anton Hvornum
2020-09-01DebuggingAnton Hvornum
2020-09-01Tweaking the mirror selection vs automatic mirror processes.Anton Hvornum
2020-09-01Debugging a bitAnton Hvornum
2020-09-01Adding service logic. Checking if reflector has finished before we select ↵Anton Hvornum
custom mirrors (if any)
2020-09-01Forgot to send with mirrors in the function call perform_installation() in ↵Anton Hvornum
guided template.
2020-09-01Added archinstall.Installer().set_mirrors, which allows to modify the ↵Anton Hvornum
mirrors in the finished installed medium.
2020-09-01Added list_mirrors() and prepared for selecting mirrors in guided.pyAnton Hvornum
2020-09-01Added the option to set keyboard layout of installation. Not only on the ↵Anton Hvornum
live medium
2020-09-01Added locale helpers in terms of keyboard language/layout. ↵Anton Hvornum
archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template.
2020-08-31Forgot self. in InstallerAnton Hvornum
2020-08-31Fixed a conditional logic issue. It didn't break out of user creation when ↵Anton Hvornum
it was supposed to.
2020-08-31Adding a different text on the user step if root is disabled. Also adding ↵Anton Hvornum
user as sudo if that's the case.
2020-08-20Added a timeout on the HTTPS POST status after a successful install.Anton Hvornum
2020-07-08removed some non-essnetial packages. re-structured the guided installer to ↵Anton Hvornum
ask for stuff first, then fire away. Tested encrypted/non-encrypted and both works.