From 2cd9c027ff13d7d40af919d29b9f9323cf288dae Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Tue, 3 Dec 2024 22:40:48 +0100 Subject: [PATCH] docs: update feature instructions --- docs/FEATURES.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/FEATURES.md b/docs/FEATURES.md index 51feeea..6ab7055 100644 --- a/docs/FEATURES.md +++ b/docs/FEATURES.md @@ -18,33 +18,29 @@ Self updates can be done by using `container` type. c8y software versions create \ --software tedge \ --url " " \ - --version "ghcr.io/thin-edge/tedge-container-bundle:20240929.1503" + --version "ghcr.io/thin-edge/tedge-container-bundle:20241201.0920" ``` - ```sh - c8y software versions create \ - --software tedge \ - --url " " \ - --version "ghcr.io/thin-edge/tedge-container-bundle:latest" - ``` - -3. Create an operation to install software +3. Create an operation to install software (go-c8y-cli >= v2.45.0) ```sh c8y software versions install \ + --device "subdevice01" \ --action install \ --software tedge \ - --version "ghcr.io/thin-edge/tedge-container-bundle:latest" + --version "ghcr.io/thin-edge/tedge-container-bundle:20241201.0920" ``` + Or if you haven't created a `tedge` software repository item, then you can install software without it, by specifying all of the required fields (including a empty space for the `--url` flag.) + ```sh c8y software versions install \ --device "subdevice01" \ --action install \ --software tedge \ - --data softwareType=container \ + --softwareType container \ --url " " \ - --version "ghcr.io/thin-edge/tedge-container-bundle:latest" + --version "ghcr.io/thin-edge/tedge-container-bundle:20241201.0920" ```