Commit Graph

843 Commits

Author SHA1 Message Date
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 07d70a0a91 Added a simple INI handler, and a helper function under Installer().configure_nic() to help with nic configuration. Supports a crude DHCP configuration and a minimal static IP handler. 2020-11-11 19:11:22 +00:00
Anton Hvornum 9a1199333a
Merge pull request #66 from Torxed/63-package-groups
Fixed #63
2020-11-09 21:53:10 +01:00
Anton Hvornum bf4fd837f4 Fixed #63
Validate against /groups as well. There's not really a search API that I could find *(with little effort on my part to try and find it)*. So I went ahead and just check for HTTP 200 on the package URL. This won't give search functionality, but it will at least validate a group definition.
2020-11-09 21:41:54 +01: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
Anton Hvornum 18c811ac96 Added some more debugging 2020-11-08 23:12:49 +00:00
Anton Hvornum 5ad6ea26c8 Tweaked #58 slightly. Execution is done with an attempt to retain file line numbers when executing. It also consolidates behavior of files and remote documents in a 'similar' manner. 2020-11-08 22:57:53 +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 9807bd58c4 Version bump 2020-11-08 15:29:20 +01:00
Lord Anton Hvornum 67cdc89002 Added additional debug on error in selected profiles 2020-11-08 15:28:49 +01:00
Lord Anton Hvornum 15e68ef49d Version bump 2020-11-08 14:49:52 +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
Lord Anton Hvornum 667e06c63e Fixed an issue where python's setuptools didn't like running bdist_wheel. Causing issues upstream on pypi because examples/ and VERSION would be missing for instance. 2020-11-08 14:11:24 +01:00
Lord Anton Hvornum f5230fcb30 Attempting to fix pypi build issues. 2020-11-08 13:22:59 +01:00
Lord Anton Hvornum 6b4a242d61 Updated sha256 hashes. 2020-11-08 11:03:16 +01:00
Anton Hvornum 16c98e8102
Introducing log data and support files
Logs are stored under `~/.cache/archinstall` and documentation has been updated.
2020-11-08 10:57:20 +01:00
Anton Hvornum ee9af976ca Updated documentation
Related to the new log features.
2020-11-08 10:56:29 +01:00
Lord Anton Hvornum 269a5fb2b9 Updated sha256 hashes. 2020-11-07 10:33:50 +01:00
Anton Hvornum e64cd07a41
Update PKGBUILD 2020-11-06 22:20:29 +01:00
Anton Hvornum 01b0e292f8
Update PKGBUILD 2020-11-06 22:20:17 +01:00
Anton Hvornum 0a1435f03f
Update PKGBUILD 2020-11-06 22:20:07 +01:00
Anton Hvornum 8504c48ebb
Update VERSION 2020-11-06 22:19:13 +01:00
Anton Hvornum 08c586632a Forgot an import of storage. 2020-11-06 00:34:08 +00:00
Anton Hvornum 216917b9c3 Fallback automatically to a log file if we can detect one, even tho file was never given in the log() call. This might cause some log posts to slip in to the logs, but use suppress=True to force-ignore those in such a case. 2020-11-05 00:36:19 +00: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 efd6e2add2 Tweaked some log messages in archinstall.Installer() 2020-11-04 23:58:55 +00:00
Anton Hvornum 16d9bd5934 Logic issue minor fix. 2020-11-04 23:55:26 +00:00
Anton Hvornum f594e6638a Fixed level issues on log output. Also tweaked it so that all log rows come to the log file, but not nessecarily the interactive screen (tty/journald). Also tweaked certain log messages to be printed vs not printed. 2020-11-04 23:53:39 +00:00
Anton Hvornum ab69cb7525 Cleaned up some logic. How the LOG_LEVEL is fetched from the storage. 2020-11-04 23:45:45 +00:00
Anton Hvornum d85c485b3a Updated contributors with the latest contributors. 2020-11-04 23:42:51 +00:00
Anton Hvornum 0d7789f195 Forgot an import of storage. 2020-11-04 23:40:41 +00:00
Anton Hvornum fb10e94c0a installer.log() should not be a property. 2020-11-04 23:39:55 +00:00
Anton Hvornum baf2ef1128 Forgot an import of storage. 2020-11-04 23:37:53 +00:00
Anton Hvornum f794cad7bb Forgot to remove self. reference when copying some code. 2020-11-04 23:36:54 +00:00
Anton Hvornum fd3c29f486 Spelling error on systemd-bootctl. 2020-11-04 22:59:12 +00:00
Anton Hvornum d899a1473f Merge branch 'master' of github.com:Torxed/archinstall into 56-log-data 2020-11-04 22:57:48 +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
Anton Hvornum 887d5ded07
Merge pull request #58 from demostanis/master
Shell script calling python & support for specifying remote profiles and full paths
2020-11-02 20:28:19 +01:00