mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-19 00:08:10 +00:00
Implement config write command
This command allows the user to overwrite properties of the config.json file.
This commit is contained in:
@ -79,6 +79,7 @@ Now you have access to all the commands referenced below.
|
||||
- Config
|
||||
|
||||
- [config read](#config-read)
|
||||
- [config write <key> <value>](#config-write-60-key-62-60-value-62-)
|
||||
|
||||
- Wizard
|
||||
|
||||
@ -604,7 +605,7 @@ drive
|
||||
|
||||
Use this command to read the config.json file from a provisioned device
|
||||
|
||||
Example:
|
||||
Examples:
|
||||
|
||||
$ resin config read --type raspberry-pi
|
||||
$ resin config read --type raspberry-pi --drive /dev/disk2
|
||||
@ -619,6 +620,26 @@ device type
|
||||
|
||||
drive
|
||||
|
||||
## config write <key> <value>
|
||||
|
||||
Use this command to write the config.json file of a provisioned device
|
||||
|
||||
Examples:
|
||||
|
||||
$ resin config write --type raspberry-pi username johndoe
|
||||
$ resin config write --type raspberry-pi --drive /dev/disk2 username johndoe
|
||||
$ resin config write --type raspberry-pi files.network/settings "..."
|
||||
|
||||
### Options
|
||||
|
||||
#### --type, -t <type>
|
||||
|
||||
device type
|
||||
|
||||
#### --drive, -d <drive>
|
||||
|
||||
drive
|
||||
|
||||
# Wizard
|
||||
|
||||
## quickstart [name]
|
||||
|
Reference in New Issue
Block a user