Skip to content

Commit

Permalink
Merge pull request #2811 from balena-io/offline-updates
Browse files Browse the repository at this point in the history
Update commands in offline updates
  • Loading branch information
flowzone-app[bot] authored Sep 29, 2023
2 parents 930dd98 + 75f50d3 commit 107098f
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 107098f

Please sign in to comment.