mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-20 08:43:44 +00:00
local configure: Allow configuring 'developmentMode' in config.json
Change-type: minor
This commit is contained in:
@ -113,6 +113,12 @@ export default class LocalConfigureCmd extends Command {
|
|||||||
},
|
},
|
||||||
domain: [['config_json', 'hostname']],
|
domain: [['config_json', 'hostname']],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
template: {
|
||||||
|
developmentMode: '{{developmentMode}}',
|
||||||
|
},
|
||||||
|
domain: [['config_json', 'developmentMode']],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
template: {
|
template: {
|
||||||
wifi: {
|
wifi: {
|
||||||
@ -163,6 +169,13 @@ export default class LocalConfigureCmd extends Command {
|
|||||||
name: 'networkKey',
|
name: 'networkKey',
|
||||||
default: data.networkKey,
|
default: data.networkKey,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
message:
|
||||||
|
'Enable development mode? (Open ports and root access - Not for production!)',
|
||||||
|
type: 'confirm',
|
||||||
|
name: 'developmentMode',
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
message: 'Do you want to set advanced settings?',
|
message: 'Do you want to set advanced settings?',
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
|
Reference in New Issue
Block a user