Commit Graph

13 Commits

Author SHA1 Message Date
Pawel Langowski
8fbd2a9f42 scripts/dts: Wait for user input on exit codes other than 0
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-21 14:28:42 +01:00
Pawel Langowski
a4d3029a37 UI/UX improvements
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
2024-11-21 14:22:01 +01:00
Daniil Klimuk
db23885453 Use DPP instead of DES
According to:
https://github.com/Dasharo/presentations/blob/main/dug_6_shameless_plug.md#dasharo-cooperation-models

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-07-22 16:52:27 +02:00
Daniil Klimuk
d80465ed56 add DES submenu
This commit adds dynamically rendered submenu for functionality
implemented by private DES packages installed from Dasharo server.
Every installed package extends the submenu accroding to its needs.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-07-22 16:45:06 +02:00
Daniil Klimuk
18dc2760fb rework check_network_connection function
Split the function into two parts and name them accordingly.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-07-22 16:45:06 +02:00
Daniil Klimuk
6e2ba4b9ca add package managment
This commit adds package management functionality: downloading and
installing packages from Dasharo server. The packages are private, the
access is granted after entering DES credentials.

Additionally this commit reworks codebase a bit, to make it more clear.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-07-22 16:45:05 +02:00
Michał Iwanicki
1932a7823e dts: start/stop sshd.service instead of socket
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
2024-07-10 14:23:13 +02:00
Daniil Klimuk
e646747fdd scripts: dts: rerender entire header
Rerender the entire header in the loop. Ask to press ENTER at the
end of each part, so logs won't be immediately overwritten by the
header.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:36:23 +02:00
Daniil Klimuk
1e98c2e919 add DES and SSH header parts and menu
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:36:22 +02:00
Daniil Klimuk
5796994c51 scripts: dts: rework DTS header
The header was inspired by Chromebox.

Add more hardware nad firmware information into the header.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:35:37 +02:00
Daniil Klimuk
5610e60007 rework colors and print functions
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-15 15:35:34 +02:00
Maciej Pijanowski
2583e7e5fa relicense to Apache-2.0, reuse compliance
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-04-10 11:10:52 +02:00
Daniil Klimuk
9e89d02099 reorganize repo structure
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-04-09 13:32:05 +02:00