Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update commands in offline updates #2811

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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