Commit Graph

888 Commits

Author SHA1 Message Date
Anton Hvornum 7764804d4c Added application profiles to the setup.py
Otherwise local lookups for application specific profiles will break/be missing.
2020-12-06 12:37:51 +01:00
Anton Hvornum 5a07b22606 Debugging 2020-12-06 12:12:10 +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 b6c6e414b1 Fixed issue where absolute paths to profiles got squashed 2020-12-06 12:00:56 +01:00
Anton Hvornum 9fb08387de Reverted last commit and added debugging in guided instead 2020-12-06 11:58:16 +01:00
Anton Hvornum 017b4b4fa9 Added debugging to find application issue 2020-12-06 11:54:38 +01:00
Anton Hvornum 74c351f27f Simplified guided.py a bit 2020-12-06 11:49:56 +01:00
Anton Hvornum 51629897b9 Modified Application() and list_profiles()
list_profiles() support a subpath parameter, which just gets appended after any given path found in PROFILE_PATH as well as UPSTREAM_URL to support filtering on application level.
2020-12-06 11:46:10 +01:00
Anton Hvornum 7f57e670da Returning Profile() to correctly handle with statement 2020-12-06 11:38:23 +01:00
Anton Hvornum bef8926004 Update profiles.py 2020-12-06 11:37:09 +01:00
Anton Hvornum 0e8aee0b54 Added spec as an instance variable to Script() 2020-12-06 11:33:28 +01:00
Anton Hvornum d3462aa483 Moving self.installer to Script() instead of Profile() 2020-12-06 11:32:31 +01:00
Anton Hvornum 9921276ea5 Wrong variable passed to spec_from_file_location() 2020-12-06 11:29:44 +01:00
Anton Hvornum 73ca83f2c9 Debugging 2020-12-06 11:25:33 +01:00
Anton Hvornum d54bd4462b Simplifying the Profile() and Imported() logic.
Combining two/three separate logics into one, to make it easier to maintain profile loading.
2020-12-06 11:23:19 +01: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