Anton Hvornum
d0a02f39c8
Fixed #76 and created PGP keys.
2021-01-19 23:35:37 +01:00
Anton Hvornum
1edb8f6f72
Added additional user-verification to guided.py
...
Also spelling error in subpath
2020-12-06 12:03:36 +01:00
Anton Hvornum
9fb08387de
Reverted last commit and added debugging in guided instead
2020-12-06 11:58:16 +01:00
Anton Hvornum
74c351f27f
Simplified guided.py a bit
2020-12-06 11:49:56 +01:00
Anton Hvornum
f5aac7f24e
Spelling error
2020-11-29 20:21:12 +00:00
Anton Hvornum
8f0e8212c3
Forgot to change the variable in unattended.
2020-11-29 20:18:57 +00:00
Anton Hvornum
4f2a6372f6
Trying to combat #62 . By implementing a UPSTREAM_URL variable globally, which can be controlled, as well as a PROFILE_PATH which controls where it should look for profiles. the list_profiles() should be more robust.
2020-11-29 18:39:57 +00:00
Anton Hvornum
4dd20ae4d4
Fixed default-variable setup bug.
2020-11-11 22:23:26 +00:00
Anton Hvornum
f6460b8634
Fixed a bug where no locale generated a hang because loadkeys needs at least one option in set_keyboard_language()
2020-11-11 22:11:13 +00:00
Anton Hvornum
72f9c07e43
Forgot to enable systemd-networkd service.
2020-11-11 20:44:05 +00:00
Anton Hvornum
a9099cbb46
Added key error correction again by creating default value. Should do this for all of them really.
2020-11-11 20:37:36 +00:00
Anton Hvornum
9ad56f3462
Created a default package entry in the _guided storage.
2020-11-11 20:28:51 +00:00
Anton Hvornum
cb6ab2c28b
Logical issue with how I stripped the response. It overrode the None but never reverted it back.
2020-11-11 20:26:21 +00:00
Anton Hvornum
092f2d3240
Revert gateway to None if the string is zero-len.
2020-11-11 20:25:01 +00:00
Anton Hvornum
065da563fb
configure_nic() is on the installation, not a generic function.
2020-11-11 20:23:50 +00:00
Anton Hvornum
7288df57b7
Fixed DNS logic, since DNS might become [""].
2020-11-11 20:23:13 +00:00
Anton Hvornum
b3bcf54a2c
Fixed generic_select() to accept (and break on) empty selects.
2020-11-11 20:20:46 +00:00
Anton Hvornum
abfeeb8dd0
Asking user for interface-names rather than MAC address. Should probably print the current IP if any, which would make it easier to identify
2020-11-11 20:17:48 +00:00
Anton Hvornum
be2dd2b3cd
Fix for generic_select() call.
2020-11-11 20:15:58 +00:00
Anton Hvornum
72fb912b6b
Adding network support (questions) to guided.py according to #65 . Previous commit added the functionality to configure the nic inside the installation.
2020-11-11 20:13:26 +00:00
Anton Hvornum
e43a84bb4b
Fix for #61 . Variable mix-matches should be fixed and tested now. There's also slightly better debug output to show where the issue is rather than just 'AttributeError'.
2020-11-08 23:31:10 +00:00
Anton Hvornum
decf9119f2
Fixing a variable missmatch in #61 . The global configuration snapshot (that 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-08 23:22:26 +00:00
Lord Anton Hvornum
ed579a07ed
Fixing issues with lists being passed instead of strings
2020-11-08 19:36:29 +01:00
Lord Anton Hvornum
4046c5349a
Fixed variable issues and version bump
2020-11-08 14:48:40 +01:00
Anton Hvornum
3598e0bfa2
Variable type-o issue.
2020-11-08 14:27:53 +01:00
Anton Hvornum
ee9af976ca
Updated documentation
...
Related to the new log features.
2020-11-08 10:56:29 +01:00
Anton Hvornum
c22e986874
Added the overall guided config into the installer log. This applies to the guided template only.
2020-11-05 00:05:03 +00:00
Anton Hvornum
f794cad7bb
Forgot to remove self. reference when copying some code.
2020-11-04 23:36:54 +00:00
Anton Hvornum
b98850819b
Added multiple log features.
...
* [Reintroduced](f64a605449/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-11-04 22:41:50 +01:00
Varun Madiath
5ded22a5d0
Fix some PEP-8 errors.
2020-10-19 23:07:35 -04:00
Varun Madiath
e4f363ce7d
Fix typo in function parameter
...
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19 23:04:14 -04:00
Varun Madiath
da59378cc4
Fix typos.
2020-10-19 23:04:14 -04:00
Anton Hvornum
06ee896c6c
Changed my mind, reverting to the original sig-handler is better.
2020-10-18 21:23:01 +02:00
Anton Hvornum
db2e5d721c
Revert to a some what default sig-kill handler. (needs some adjustments just to clean up things, but I think it will do for now)
2020-10-18 21:22:05 +02:00
Anton Hvornum
ad2adec834
Reverted some changes. It was to 'complicated' to get status of the 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-18 21:19:08 +02:00
Anton Hvornum
2df4347b44
Added a slightly convoluted but non-intrusive 'are you sure?' on Ctrl+C/any input.
2020-10-18 20:49:44 +02:00
Anton Hvornum
479881a5a2
Tweaked the output a little.
2020-10-18 20:36:14 +02:00
Anton Hvornum
58201d7234
Tweaked the _guided storage. One variable was a loaded module, which is hard to convert to json in a meaningful way.
2020-10-18 20:32:26 +02:00
Anton Hvornum
fa4be63e48
Forgot an import, as well as made BlockDevice() have less verbose output on json.dumps.
2020-10-18 20:26:09 +02:00
Anton Hvornum
d5effa744f
Added a JSON serializer for certain non-json objects.
2020-10-18 20:17:45 +02:00
Anton Hvornum
23365d2d8e
Added a test version trying to solve #43 .
2020-10-18 20:00:53 +02:00
Anton Hvornum
a69e1af4f1
Added error handling to guided.py when not selecting a profile to install.
2020-10-18 13:25:13 +02:00
Anton Hvornum
4b1f22bf91
Added error handling to guided.py when not selecting a profile to install.
2020-10-18 13:23:51 +02:00
Anton Hvornum
dafe304b00
Added error handling to guided.py when not selecting a profile to install.
2020-10-18 13:21:42 +02:00
Anton Hvornum
9c5d1e9891
Added error handling to guided.py when not selecting a profile to install.
2020-10-18 13:20:58 +02:00
Anton Hvornum
ea84565f86
Implementing error handling for #50 . So that the errors do not come at the very end, but in the beginning right after the user inputted something (quicker feedback to the user).
2020-10-18 10:03:26 +02:00
Anton Hvornum
54e2161e29
Tweaked the import logic so that the Imported() class returns the actual 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-30 09:56:35 +00:00
Anton Hvornum
85fd06fa8a
Finalized magic function _prep_function(). Gets returned when a profile is 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-30 09:11:36 +00:00
Anton Hvornum
f896342147
Adding a baseline xorg profile that can be called from other profiles. Such as the awesome profile, and in the future gnome and kde.
2020-09-29 22:09:28 +00:00
Anton Hvornum
6338e7116e
Removed AUR support (Moving to a separate project, possibly as an addon layer later)
2020-09-29 21:01:10 +00:00