134 Commits

Author SHA1 Message Date
a24c81160f Merge pull request 'updated for new api' (#2) from Scale-24 into master
Reviewed-on: #2

Updated to new api
2025-10-24 01:43:20 +00:00
eb226df901 updated for new api 2025-10-24 01:41:46 +00:00
b6aa8121b8 Add try catch for services to restart to work on core and scale for dataset unlock 2024-08-31 15:40:10 +00:00
92c693abc4 commented out jail starts since they do work with scale, will need to fix this for backwards comp 2024-08-31 15:21:22 +00:00
d73c245475 Updated to test for encrypt key in pool to keep backwards compatibility while working with scale 2024-08-31 15:17:08 +00:00
7b08763c64 Updated as simplejson is not available on truenas scale 2024-08-31 15:06:50 +00:00
c541a93994 Increased sleep to 120 seconds 2024-07-07 22:24:24 +00:00
c609216830 update help toc correctly show program name 2023-11-03 15:46:14 -04:00
cce20aa267 upped sleep to 60 seconds 2023-07-26 17:07:09 -04:00
f868336a8b upped sleep to 30 seconds 2023-07-26 16:58:05 -04:00
7a2b4d52c9 add a delay after activating pool for jail storage 2023-07-26 16:46:27 -04:00
cac20e14b6 Commented out restart of jail service 2023-07-26 15:25:21 -04:00
e7db02dce3 added logic to remove jails service restart before we have selected the jail storage pool 2023-07-26 15:23:00 -04:00
dac79ffa7c removed extra / 2023-07-26 15:16:26 -04:00
bb1a0616ed updated to use pool id instead of dataset id which is not int 2023-07-26 15:16:08 -04:00
4aeec47d1b added missing end brackets 2023-07-23 23:19:32 -04:00
acb4ac3921 fixed spacing 2023-07-23 23:18:28 -04:00
aa8574da13 fixed spacing 2023-07-23 23:17:57 -04:00
d55a5fff83 fixed spacing 2023-07-23 23:17:27 -04:00
e01b3d11ec Added lookup for services before unlocking so we can restart the correct services enabled 2023-07-23 23:16:45 -04:00
f8009f9ad3 Added empty line before jail storage pool output 2023-07-23 15:06:28 -04:00
13abab0b67 Updated to work with new config process 2023-07-23 15:05:52 -04:00
fe752ff3fb added force restart of jails 2023-07-21 23:49:34 -04:00
4025bca3cb numbered array didn't work :( 2023-07-21 23:44:14 -04:00
ff5b2e2d74 No point in asking for jail storage pool when creating a pool since there is only one in the config 2023-07-21 23:42:36 -04:00
72048eee94 mixed up e and j code 2023-07-21 23:40:29 -04:00
4f55ac6cce Updated to have jail storage pool and activate pool after unlock 2023-07-21 23:20:06 -04:00
a7d84132d6 I forgot the pool unlock already restarts the services 2023-04-02 17:46:23 -04:00
46e2edca74 switch to hmac compare digest for password confirmation verify 2023-04-02 14:53:31 -04:00
4c94efef26 spelling mistakes 2023-04-02 13:45:35 -04:00
d93ef77fd7 space 2023-04-02 13:45:08 -04:00
5f7e60e220 removed api key from debug log as it is easy to create a new one 2023-04-02 13:43:54 -04:00
20d6b44f6c updated wording 2023-04-02 13:43:14 -04:00
87a021529f moved config menu into for loop for better visuals 2023-04-02 13:03:01 -04:00
91908ae777 updated missed pool variable to config 2023-04-02 13:01:31 -04:00
1b9329d471 update git ignore to include secrets.config 2023-04-01 23:28:21 -04:00
8050d080cb added commands to restart services on pool unlock too 2023-04-01 22:59:02 -04:00
736b3b6d4c removed comments 2023-04-01 22:52:57 -04:00
1c63615f99 removed config print 2023-04-01 22:40:52 -04:00
9f724c7af2 missing ( 2023-04-01 22:39:20 -04:00
98d282f478 print config for debugging 2023-04-01 22:37:21 -04:00
fe371810c0 updated variable name from pools to config
Pools variable name doesn't make sense since the API key is also in there.  Better to call it config as it contains the config
2023-04-01 22:36:39 -04:00
c85ca8c51c changed wording from account to config 2023-04-01 22:34:30 -04:00
87137cf231 removed test output 2023-04-01 21:56:16 -04:00
84fa00d32b Lots of updates to new version 2023-01-30 08:46:38 -05:00
e9738f2954 imported time, commented out the log file, updated the parser and client config 2022-11-25 21:50:05 -05:00
f1dc883708 added logger, write/read json config, ask confirmation, and decrypt version functions 2022-11-25 20:39:38 -05:00
2334fc0b5c split the boot and start jail logic 2021-03-27 11:15:21 -04:00
a0d9576133 fixed syntax 2021-03-27 11:09:14 -04:00
c30d5e145d fixed syntax 2021-03-27 11:07:34 -04:00