mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-25 02:56:31 +00:00
config inject: Remove requirement of being logged in
Change-type: patch
This commit is contained in:
parent
6c81440428
commit
09a4e8db2d
@ -2497,8 +2497,11 @@ the wifi key to use (used only if --network is set to wifi)
|
|||||||
|
|
||||||
## config inject <file>
|
## config inject <file>
|
||||||
|
|
||||||
Inject a config.json file to the mounted filesystem,
|
Inject a config.json file to a mounted filesystem, e.g. the SD card of a
|
||||||
e.g. the SD card of a provisioned device or balenaOS image.
|
provisioned device or balenaOS image.
|
||||||
|
|
||||||
|
Note: if using a private/custom device type, please ensure you are logged in
|
||||||
|
('balena login' command). Public device types do not require logging in.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
|
@ -34,8 +34,11 @@ export default class ConfigInjectCmd extends Command {
|
|||||||
public static description = stripIndent`
|
public static description = stripIndent`
|
||||||
Inject a configuration file into a device or OS image.
|
Inject a configuration file into a device or OS image.
|
||||||
|
|
||||||
Inject a config.json file to the mounted filesystem,
|
Inject a config.json file to a mounted filesystem, e.g. the SD card of a
|
||||||
e.g. the SD card of a provisioned device or balenaOS image.
|
provisioned device or balenaOS image.
|
||||||
|
|
||||||
|
Note: if using a private/custom device type, please ensure you are logged in
|
||||||
|
('balena login' command). Public device types do not require logging in.
|
||||||
`;
|
`;
|
||||||
|
|
||||||
public static examples = [
|
public static examples = [
|
||||||
@ -59,8 +62,6 @@ export default class ConfigInjectCmd extends Command {
|
|||||||
help: cf.help,
|
help: cf.help,
|
||||||
};
|
};
|
||||||
|
|
||||||
public static authenticated = true;
|
|
||||||
|
|
||||||
public static root = true;
|
public static root = true;
|
||||||
|
|
||||||
public async run() {
|
public async run() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user