Skip to content

Commit

Permalink
Update commands in offline updates
Browse files Browse the repository at this point in the history
The `balena fleet` commands in this guide no longer work with the latest version of the CLI which returns a capitalized table instead of all uppercase items. Not sure when this change took place on the CLI side.

Change-type: patch
  • Loading branch information
pipex committed Sep 29, 2023
1 parent 930dd98 commit 75f50d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/learn/deploy/offline-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $ balena fleet create ${fleet_name} --type ${device_type}
Initialize the `fleet_slug` environment variable with the command below to store the slug of the fleet.

```bash
$ fleet_slug=$(balena fleet ${fleet_name} | grep SLUG | awk '{print $2}')
$ fleet_slug=$(balena fleet ${fleet_name} | grep Slug | awk '{print $3}')
```

### Create/Use Pre-existing Offline Device
Expand Down Expand Up @@ -173,7 +173,7 @@ $ balena deploy ${fleet_slug} --build --emulated --source .
The following steps will flash the latest release onto the balenaOS image downloaded in the previous steps and pin the device to mentioned release commit.

```bash
$ commit=$(balena fleet ${fleet_slug} | grep COMMIT | awk '{print $2}')
$ commit=$(balena fleet ${fleet_slug} | grep Commit | awk '{print $3}')

$ balena preload ${tmpimg} \
--fleet ${fleet_slug} \
Expand Down

0 comments on commit 75f50d3

Please sign in to comment.