Skip to content

Commit

Permalink
Python TUI requires sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewey-rpi committed Dec 6, 2024
1 parent 631948d commit 0b76ae1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,11 @@ $ sudo reboot now
Next, you will have to configure `rpi-sb-provisioner` by using the TUI. In a terminal, run:

----
$ config.sh
$ sudo config.sh
----

WARNING: This will not work if you have not reboot after installing the package!

WARNING: `rpi-sb-provisioner' must be installed with `--install-suggests' for `config.sh' to work. This will require installation of `python3-textual' and `python3-rich' from Debian's Trixie release.

Running this command will open up a full screen text UI. The TUI supports mouse input or keyboard navigation!
Each of the boxes contains a name, text entry and help button. The steps for editing each parameter are as follows:

Expand Down Expand Up @@ -246,15 +244,13 @@ WARNING: `rpi-sb-provisioner` will not, by default, block JTAG access. If you wi

=== Monitoring via the monitoring application

WARNING: `rpi-sb-provisioner' must be installed with `--install-suggests' for `monitor.sh' to work. This will require installation of `python3-textual' and `python3-rich' from Debian's Trixie release.

`rpi-sb-provisioner` also contains a monitoring application. This can be used to observe the progress of a device as it is being provisioned. It also allows for easy introspection of the log files and lists all completed and failed devices.
The monitoring application supports both mouse or keyboard input. Navigation between boxes can be acheived by using the `tab` key or by clicking on the desired area.

To run, type into a terminal window:

----
$ monitor.sh
$ sudo monitor.sh
----

The TUI will intialise with 2 rows, the top one showing the progress of a device throughout the process, with each of the columns being for devices in the following stages: triaging and provisoning.
Expand Down

0 comments on commit 0b76ae1

Please sign in to comment.