From e46902e6839eeb2f59f445aeef94500bd34b8c14 Mon Sep 17 00:00:00 2001 From: Heath Raftery Date: Thu, 29 Sep 2022 23:45:32 +1000 Subject: [PATCH] balena os initialize: Clarify that the process includes flashing Change-type: patch --- docs/balena-cli.md | 4 +++- lib/commands/os/initialize.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/balena-cli.md b/docs/balena-cli.md index 2c83cc7e..370329f5 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -2261,7 +2261,9 @@ expiry date assigned to generated provisioning api key (format: YYYY-MM-DD) ## os initialize <image> Initialize an os image for a device with a previously - configured operating system image. + configured operating system image and flash the + an external storage drive or the device's storage + medium depending on the device type. Note: Initializing the device may ask for administrative permissions diff --git a/lib/commands/os/initialize.ts b/lib/commands/os/initialize.ts index 6d09e4a3..4e62871a 100644 --- a/lib/commands/os/initialize.ts +++ b/lib/commands/os/initialize.ts @@ -42,7 +42,9 @@ export default class OsInitializeCmd extends Command { Initialize an os image for a device. Initialize an os image for a device with a previously - configured operating system image. + configured operating system image and flash the + an external storage drive or the device's storage + medium depending on the device type. ${INIT_WARNING_MESSAGE} `;