Commit Graph

314 Commits

Author SHA1 Message Date
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 a8eb3d5ead Added more logging 2019-12-26 10:51:51 +00:00
Anton Hvornum f64a605449 Debug output 2019-11-29 18:55:55 +01: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 198c47333e Debugging 2019-11-29 17:10:04 +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 7b1968fa9a Adding more debug output 2019-11-29 16:12:10 +01:00
Anton Hvornum f537eee6b3 debugging 2019-11-29 15:37:44 +01:00
Anton Hvornum 253e52da22 debugging 2019-11-29 15:37:05 +01:00
Anton Hvornum c2badea10b Debugging 2019-11-29 15:35:37 +01:00
Anton Hvornum b2f85c93e7 Fixing bytes conversion on JSON triggers on command lines 2019-11-29 15:33:00 +01:00
Anton Hvornum b4f311584b Fixing argument for boot command 2019-11-29 15:25:27 +01:00
Anton Hvornum b0804b41d0 Fixing args 2019-11-29 15:17:31 +01:00
Anton Hvornum 6faeeb0bd3 Don't update git until we have some args 2019-11-29 15:10:49 +01:00
Anton Hvornum 2d9606777f Forgot to setup args 2019-11-29 15:09:54 +01:00
Anton Hvornum 56ad7efe84 One step in fixing #20. User-given parameters override template. And next is reworking the inheritance structure of the templates 2019-11-29 15:09:05 +01:00
Anton Hvornum 4051175650 Updated README to reflect parameter changes. 2019-11-29 14:55:13 +01:00
Anton Hvornum a66c2436ee Added debug 2019-11-29 13:56:42 +01:00
Anton Hvornum 30e45d57a1 Added --minimal to skip profile lookups completely. #29 2019-11-29 13:54:17 +01:00
Anton Hvornum ef117744cb Fixing #29. --default is now renamed to --minimal. --unattended has been added to skip steps (equal to --force). Will add a --default shortcut which will point towards the profile 'default.json' 2019-11-29 13:48:51 +01:00
Anton Hvornum 53669d63c9 Removing interactive since it's redundant 2019-11-29 13:40:47 +01:00
Anton Hvornum 670afabf9f Moved disk selection to after profile fetching. Should not need to select a disk if it's specified in the template 2019-11-29 13:39:29 +01:00
Anton Hvornum d84f4e2bf9 Fixed an issue where --profile didn't override the network deploy. 2019-11-29 13:32:48 +01:00
Anton Hvornum 62ecb7ccfa Fixed instruction loading 2019-11-29 13:26:35 +01:00
Anton Hvornum a83b21ec01 Fixing offline deployment a bit 2019-11-29 13:21:39 +01:00
Anton Hvornum c8f31bd344 Fixing #18 and #12 2019-11-29 12:55:38 +01:00
Anton Hvornum 4652a3eee4 Fixing #24 and #12 2019-11-29 12:47:17 +01:00
Anton Hvornum 72e6eb4567 Feature: #28 - Tested and works 2019-11-28 00:56:17 +00:00
Anton Hvornum 70c811e2bc Feature: #28 - Fixing the booatloader config when disk ain't encrypted 2019-11-28 00:50:05 +00:00
Anton Hvornum 1aec07f829 Feature: #28 - Fixing the booatloader config when disk ain't encrypted 2019-11-28 00:23:55 +00:00