Commit Graph

26 Commits

Author SHA1 Message Date
pedro ba83ccba88 we know lshw might fail, do not load as json 2024-10-15 14:13:37 +02:00
pedro 92658ebc86 improve error msg 2024-10-15 14:13:37 +02:00
pedro cc02b65263 workbench: use url instead of public_url 2024-10-15 14:13:37 +02:00
pedro ddcd956220 inform of executed command
and discovered a command without the sudo
2024-10-15 14:13:37 +02:00
pedro 1f88aae0ac remove requests dependency, use vanilla urllib 2024-10-15 14:13:37 +02:00
pedro 2291d0994b add lspci command
which was required by legacy server
2024-10-15 14:13:37 +02:00
pedro 47a8e24850 allow more response codes 2024-10-15 14:13:37 +02:00
Cayo Puigdefabregas 46447cebaa qr for workbench 2024-10-15 14:13:37 +02:00
Cayo Puigdefabregas e4203df44c fix parsing to old devicehub 2024-10-15 14:13:33 +02:00
pedro fb69206f53 workbench-script: verify if snapshot was received 2024-10-15 14:13:11 +02:00
Cayo Puigdefabregas 6bf1746829 add legacy mode
make workbench-script compatible with the old devicehub
2024-10-15 14:13:04 +02:00
pedro f617526c34 workbench-script: improve err msg for HTTP POST 2024-09-27 23:18:56 -03:00
pedro e527ba611d pxe: improve error msgs in wb-script 2024-09-27 23:18:56 -03:00
pedro 349e0eb480 pxe: improve autostart 2024-09-27 23:18:56 -03:00
pedro 6c513cb5d3 bugfix wrong try/except 2024-09-27 23:18:56 -03:00
pedro c845249a81 pxe: bugfix wrong try 2024-09-27 23:18:56 -03:00
pedro 19957c608d pxe: add try-exception for writing fallback path 2024-09-27 23:18:56 -03:00
pedro da026ad0c3 workbench-script: warn when not root 2024-09-27 23:18:56 -03:00
pedro 52e99064c6 workbench-script: remove ntplib
- it was not being used
- let's delegate this to Operating System
2024-09-27 23:18:56 -03:00
pedro 47ea66f013 workbench-script: attempt to write to snapshot dir 2024-09-27 23:18:56 -03:00
pedro cb7ee61945 workbench-script: improve INFO and ERROR logs 2024-09-20 16:31:12 -03:00
pedro 6d3d4e5c2a make upload snapshot work 2024-09-19 14:04:11 -03:00
pedro a9af55d109 workbench: use declarative config instead of args
The only arg needed is the location of the config, which is optional
2024-09-19 12:42:03 -03:00
pedro d3018abde9 workbench: use sudo everywhere
that means adjusting fine the hostname, which right now is hardcoded
to workbench
2024-09-19 12:40:04 -03:00
pedro 6c781a0503 clearer start-end of script 2024-09-19 11:27:52 -03:00
pedro 44959acdf5 init code and manual
attribution:

- cayo did code and explanations
- pedro formatted and edited to inclusion as a repository
2024-09-18 11:13:40 -03:00