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
|
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 |