Commit Graph

875 Commits

Author SHA1 Message Date
Anton Hvornum 0f2d61ba08 selecting disk by id/size should return a BlockDevice() 2020-12-06 22:02:41 +01:00
Anton Hvornum ace6beb209 Attempting to select drives by size and/or id 2020-12-06 20:59:32 +00:00
Anton Hvornum 783e8ac117 Added a lower() factor to mac addresses in get_interface_from_mac() to match list_interfaces(). 2020-11-29 21:51:39 +00:00
Anton Hvornum 0a085e5106 Profile filename confusion between list_profiles() and @path declaration. 2020-11-29 21:43:49 +00:00
Anton Hvornum 4fd1e96d24 Profile filename confusion between list_profiles() and @path declaration. 2020-11-29 21:40:17 +00:00
Anton Hvornum 5470434097 Added a mac->iface lookup function, just to make the templte codes easier to read. 2020-11-29 21:36:15 +00:00
Anton Hvornum 07e6e91f3c Issue in archinstall.output.log() when the log file output is omitted. Now properly checks if a logfile is given, otherwise it ignores it. 2020-11-29 21:30:44 +00:00
Anton Hvornum 82e0d20738 Forgot return statement 2020-11-29 21:28:20 +00:00
Anton Hvornum c27c76896e Added more debugging 2020-11-29 21:27:57 +00:00
Anton Hvornum c4cfa26f59 Forgot to call .geturl() on urlparse object. 2020-11-29 21:26:39 +00:00
Anton Hvornum 5ec520f461 Test/Debug data. 2020-11-29 20:55:56 +00:00
Anton Hvornum 8814cb4697 Forgot to replace URL schemes from temporary path. #62 2020-11-29 20:54:27 +00:00
Anton Hvornum 0102b86b0d Forgot 'self' in localize_path() 2020-11-29 20:53:31 +00:00
Anton Hvornum b60b173a91 Tweaking Profile() to use Script() as a handler for any given path. 2020-11-29 20:52:59 +00:00
Anton Hvornum 817465b8fb Merging in find_installation_script() into Script() for a more unified handler of any given script type or location. Which should correct #62. 2020-11-29 20:50:22 +00:00
Anton Hvornum 4d153c5bd1 Lowering MAC addresses for file-name comparison against local mac addresses in #62 2020-11-29 20:30:54 +00:00
Anton Hvornum f5aac7f24e Spelling error 2020-11-29 20:21:12 +00:00
Anton Hvornum d99b804386 Added a bit more detail to HTTP errors. 2020-11-29 20:20:47 +00:00
Anton Hvornum 3563f00d87 Spelling error 2020-11-29 20:19:44 +00:00
Anton Hvornum 8f0e8212c3 Forgot to change the variable in unattended. 2020-11-29 20:18:57 +00:00
Anton Hvornum 607de557f9 Removed find_examples() and moved example finding paths into archinstall.storage. Otherwise they won't share the variable instance across imports (mutables vs non-mutables i guess). In an attempt to fix #62 2020-11-29 20:17:21 +00:00
Anton Hvornum 77e3782374 Forgot a few imports 2020-11-29 19:52:14 +00:00
Anton Hvornum 9db54786f0 Removed unreliable find_examples() and will use list_profiles() instead, as it covers a wider range of profiles and search area. 2020-11-29 19:49:55 +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 6fe63626d6
Added a matrix.org server as an alternative 2020-11-26 16:59:49 +01:00
Anton Hvornum 95c80b7e83 Slimmed the awesome profile a bit. No need to install tons of dependencies just for the desktop environment. 2020-11-11 23:11:11 +00:00
Anton Hvornum 031f6d204e Updated hash to v2.0.6rc17. 2020-11-11 22:55:12 +00:00
Anton Hvornum 7172dc5cf1 Version bump: 2.0.6rc17 2020-11-11 22:43:55 +00:00
Anton Hvornum be8ac2558e
Implemented systemd-networkd for installed mediums
Some bug fixes, but mostly added the option to configure **one** network interface.
2020-11-11 21:37:40 +00:00
Anton Hvornum 4dd20ae4d4 Fixed default-variable setup bug. 2020-11-11 22:23:26 +00:00
Anton Hvornum b00f307a28 Added minor error handling in installer.set_keyboard_language() 2020-11-11 22:18:22 +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 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