Commit Graph

103 Commits

Author SHA1 Message Date
Lucas Noki
d03fe99af0 Remove class structure
Add print helpers
Remove unnecessary .strip()
Remove unnecessary sudo commands
2020-08-02 23:24:08 +02:00
Lucas Noki
1a242827a9 Remove old SwapModule.py 2020-08-02 23:22:50 +02:00
Lucas Noki
c067b8c89d Use print helper functions 2020-08-02 13:58:47 +02:00
Lucas Noki
b09431877e Check if lnxtools.sh is run as root
Update requirements.txt
Update wording
2020-08-02 04:16:30 +02:00
Lucas Noki
ecc63013c1 Remove xrdp from basictools add git and vim 2020-08-02 03:51:22 +02:00
Lucas Noki
94ff8d2ce2 Add new plugins for vim module 2020-08-02 03:51:01 +02:00
Lucas Noki
36edc4c183 Remove class structure from vim module 2020-08-02 03:50:50 +02:00
e633965a1a Remove classes from easy modules
* bashrc
* hacker
* helloworld
* installer
* update
* teamspeak
2020-08-02 00:55:48 +02:00
ad0f5dac05 Add some more configs to the bashrc 2020-08-01 22:58:12 +02:00
lucas.noki
3eb9fcd1b4 Remove unnecessary import statement
Make the output message a bit nicer
2020-08-01 20:17:49 +02:00
Lucas Noki
6ff90f912a Comment out batcat alias 2020-08-01 20:17:49 +02:00
Lucas Noki
1d4e6a3f8d Implement bashrc module code 2020-08-01 20:17:49 +02:00
Lucas Noki
b1a34aabd4 Add default bashrc 2020-08-01 20:16:21 +02:00
lucas.noki
fc95921513 Implement fail2ban module 2020-08-01 02:15:43 +02:00
0c1505bf0b Add Hacker easter egg 2020-03-21 23:49:29 +01:00
46491d3984 Add documentation for class and show_logs 2020-03-21 22:51:22 +01:00
14c58905b8 Implement Teamspeak module 2020-03-21 22:29:07 +01:00
3ae0a4ab35 Add teamspeak docker compose file 2020-03-21 05:57:28 +01:00
d53ad4b684 Add wget to basic_tools 2020-03-21 04:11:14 +01:00
657b864202 Use file exists to check wether install is needed
run screenfetch in helloworld module
2020-03-21 04:11:01 +01:00
b55318da26 Use official docker install script
add docker compose
2020-03-21 04:07:53 +01:00
372e11f0c2 Add system info generation to hello world script 2020-03-21 02:08:22 +01:00
e5f90f6c0c Add -y option to all apt-get commands 2020-03-11 00:41:17 +01:00
5fc955e405 Remove programms.json 2020-03-11 00:38:42 +01:00
43016d7326 Remove wrong dollar sign 2020-03-11 00:33:29 +01:00
2a2805150e Pull out base url 2020-03-11 00:29:55 +01:00
df127f63e2 Dynamically adjust url and gpg key 2020-03-11 00:24:29 +01:00
76c5dc8363 Check if sources.list entry is already there 2020-03-10 23:37:29 +01:00
7705ba9cae Add auto accept and platform distinction in docker 2020-03-10 23:37:29 +01:00
dcb8374f70 Add docker in installer 2020-03-10 23:37:29 +01:00
6061a7d224 Change from dynamic to explicit module loading
dynamic loading was removed to have an overall better flow control,
Remove Abstract Module, 
clear out module __init__.py
2020-03-06 02:34:57 +01:00
e9f92af66f Rename module, split program categories 2020-03-06 01:23:20 +01:00
9ec51fa959 Fix wrong input for subprocess, remove output capturing
Concat apt command entirely before execution.
2020-03-05 23:57:59 +01:00
f5cd3c6234 Add programs list, implement subprocess to start apt, error handling 2020-03-05 23:57:59 +01:00
33737fec66 Create module boilerplate 2020-03-05 23:57:59 +01:00
c5e3e8f368 Rename sample module to hello world 2020-03-05 21:37:15 +01:00
5d7fde2848 Add default yes parameter 2020-03-05 19:56:54 +01:00
2e4ba51a58 Split up calls into executable and parameterlist 2020-03-05 19:55:10 +01:00
72f0244a7c change run to call 2020-03-05 19:50:23 +01:00
de73914477 Implement systemupdate module 2020-03-05 19:40:04 +01:00
Lucas Noki
50bea3cba0 Extract run shell command
rename check_fstab to fstab_exists
2020-02-01 03:28:46 +01:00
Lucas Noki
e25c3f16d6 Simplify if statements 2020-02-01 03:06:37 +01:00
Lucas Noki
faac5d22be If swap gets deleted entry from /etc/fstab gets also deleted 2020-01-29 08:52:50 +01:00
Lucas Noki
b9bf1454ad Add function to check for fstab entry, Prevent double entries 2020-01-28 10:04:39 +01:00
Lucas Noki
9636e817cb inline swap_file member as swap_location 2020-01-25 02:39:17 +01:00
Lucas Noki
59050e0665 string formatting 2020-01-25 02:38:41 +01:00
Lucas Noki
de6b0917e8 put index access in try block 2020-01-25 02:38:12 +01:00
Lucas Noki
c3e9bcc147 Remove else because of early return 2020-01-25 02:12:10 +01:00
Lucas Noki
035e4ce6ae Inverse if case for better readability
Remove unnecessary line
2020-01-25 02:10:12 +01:00
Lucas Noki
dcb5681aa3 Fix return type, remove unnecessary space
Add newline to .gitignore
2020-01-25 01:05:07 +01:00