Commit Graph

525 Commits

Author SHA1 Message Date
Anton Hvornum 20d64e445a Fixing a more transparent argument passing all the way down to the actual command begin executed. Hoping this will enable better error output in the future 2020-03-16 17:51:13 +01:00
Anton Hvornum 940869da6c Fix for previous commit, indent issue and a missing else 2020-03-16 17:22:42 +01:00
Anton Hvornum cab78fee0a New feature: input_redirect in cleanup_args(). Since this function might be run from outside a tty, there's no way to get input. So an external input handler is required. This enables that functionality. Also some cleanup to get_instructions so that we can load them from some where else in the future. 2020-03-16 17:20:26 +01:00
Anton Hvornum 113c7c23b0 Moved set_locale() from configure_base_system as it is its own step in a way. 2020-03-16 16:28:10 +01:00
Anton Hvornum 9aebd49fdb Adding more debug output. 2020-03-16 15:20:18 +01:00
Anton Hvornum 3393c94f08 New function: add_custom_mirror(). Adds a custom mirror to /etc/pacman.conf with SigLevel set to Optional and TrustAll by default. 2020-03-16 15:06:36 +01:00
Anton Hvornum b5a9702230 New function: prerequisit_check(). Moved the exit-if-not-uefi logic into a function instead of hard-crashing whoever imports the library. This way tho, it's up to the user to run the check. TODO: Add a warning message if the function isn't run beforehand. 2020-03-16 11:46:57 +01:00
Anton Hvornum f800d44b2d New function: create_user(). Simple user creations, not many options for now. 2020-03-16 11:14:33 +01:00
Anton Hvornum ef088bc624 New function: set_locale(). Takes a format string of either a full locale-gen valid format such as 'en_US.UTF-8 UTF-8' or a shortened version 'US'. Currently only 'SE' is implemented tho.' 2020-03-16 10:31:42 +01:00
Anton Hvornum 2f283a4338 Changed client to worker, more correct. 2020-03-15 20:45:56 +00:00
Anton Hvornum 4e04badd65 Added a client field in kwargs, used when pushing on_output. 2020-03-15 20:33:01 +00:00
Anton Hvornum 3c0963a0a1 Added a new feature: on_output in sys_command. Passing a on_output function to sys_command forces it to send each output block to the callback. Useful to create progressbars etc. 2020-03-15 19:05:55 +00:00
Anton Hvornum 93780ba888 Added new function: set_password(). Sets a password for a given username. 2020-03-15 18:04:25 +00:00
Anton Hvornum fe69d970a3 Added somre more error handling and removed potentially unessecary code. 2020-03-15 17:32:04 +00:00
Anton Hvornum 2a3aa2738d New function: reboot(). Does what you think it does. Also does a sync tho just to be safe. 2020-03-15 16:29:41 +00:00
Anton Hvornum 4223631b80 Added more log entries to commandlog. 2020-03-15 16:13:40 +00:00
Anton Hvornum e9aadfa29b Added a new function: flush_all_mirrors(). Can be used to wipe default mirrors prior to adding specific ones. 2020-03-15 15:37:33 +00:00
Anton Hvornum 13a44243a8 Added a SAFETY_LOCK on a bunch of functions. 2020-03-15 15:33:49 +00:00
Anton Hvornum 7684ea1304 New function: add_specific_mirrors(). Adds specific mirrors by converting {url: country} into '# country\nServer = url' in /etc/pacman.d/mirrorlist. This can be done after filter_mirrors_by_country_list(). 2020-03-15 15:30:38 +00:00
Anton Hvornum 91da324df0 Error check on get_instructions to ignore .json at the end. 2019-12-26 14:08:20 +00:00
Anton Hvornum 40939d207e Added more logging 2019-12-26 11:43:17 +00:00
Anton Hvornum b3a3b9d772
Merge pull request #37 from Torxed/lab
Lab
2019-12-26 10:52:12 +01:00
Anton Hvornum a8eb3d5ead Added more logging 2019-12-26 10:51:51 +00:00
Anton Hvornum 2dcc92f844 Merge branch 'master' of github.com:Torxed/archinstall 2019-12-26 00:53:50 +00:00
Anton Hvornum 33f107255e Added more debugging to systemd journald 2019-12-26 00:53:43 +00:00
Anton Hvornum dc14d6114d
Merge pull request #36 from Torxed/cleanup
Cleanup
2019-12-25 18:52:02 +01:00
Anton Hvornum 906324026b Cleanup 2019-12-25 18:46:08 +00:00
Anton Hvornum 2f90c03afd Refreshing partitions function 2019-12-25 18:42:56 +00:00
jaybent 00d0a29c49
Update gitea.json
Typo's
2019-12-03 23:56:33 +01:00
jaybent 9d65f6eb2d
Rename gitea to gitea.json 2019-12-03 23:44:04 +01:00
Anton Hvornum f64a605449 Debug output 2019-11-29 18:55:55 +01:00
Anton Hvornum c9ccea233a
Merge pull request #35 from Torxed/lab
Lab, fixed #12
2019-11-29 17:23:24 +00:00
Anton Hvornum 42b697a4e3 Debugging 2019-11-29 18:02:11 +01:00
Anton Hvornum bf32476bfd Fixing password order for commnaads 2019-11-29 17:56:27 +01:00
Anton Hvornum cb3d16b0bb Fixed password prompt for nspawn 2019-11-29 17:47:21 +01:00
Anton Hvornum 9eb80c139f Fixing rerun 2019-11-29 17:39:47 +01:00
Anton Hvornum 3ba199628b Fixing issues with the spawning of containers. 2019-11-29 17:38:22 +01:00
Anton Hvornum 92d9af970d Fixing issues with the spawning of containers. 2019-11-29 17:27:53 +01:00
Anton Hvornum c5b44a6935 Fixing issues with the spawning of containers. 2019-11-29 17:23:04 +01:00
Anton Hvornum e505ba6f19 Debugging 2019-11-29 17:10:20 +01:00
Anton Hvornum 198c47333e Debugging 2019-11-29 17:10:04 +01:00
Anton Hvornum c5360f94e2 Debugging 2019-11-29 17:03:02 +01:00
Anton Hvornum fc196a589b Debugging 2019-11-29 17:02:40 +01:00
Anton Hvornum cefe7e4f8b Enhancing trigger values 2019-11-29 16:53:47 +01:00
Anton Hvornum 3769a3193b Tweaking event input 2019-11-29 16:36:43 +01:00
Anton Hvornum 7c23fb4d63 Modifying default template for test 2019-11-29 16:17:49 +01:00
Anton Hvornum 0e52ef0449 Modifying default template for test 2019-11-29 16:16:04 +01:00
Anton Hvornum 7b1968fa9a Adding more debug output 2019-11-29 16:12:10 +01:00
Anton Hvornum 735a2b02e9 Adding test of multiple event triggers 2019-11-29 15:50:08 +01:00
Anton Hvornum f537eee6b3 debugging 2019-11-29 15:37:44 +01:00