config: Switch default device type to unknown

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2018-11-26 16:45:16 +00:00
parent dfa9034fe9
commit f56be737ee
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -33,7 +33,7 @@ class Config extends EventEmitter {
uuid: { source: 'config.json', mutable: true }, uuid: { source: 'config.json', mutable: true },
apiKey: { source: 'config.json', mutable: true, removeIfNull: true }, apiKey: { source: 'config.json', mutable: true, removeIfNull: true },
deviceApiKey: { source: 'config.json', mutable: true }, deviceApiKey: { source: 'config.json', mutable: true },
deviceType: { source: 'config.json', default: 'raspberry-pi' }, deviceType: { source: 'config.json', default: 'unknown' },
username: { source: 'config.json' }, username: { source: 'config.json' },
userId: { source: 'config.json' }, userId: { source: 'config.json' },
deviceId: { source: 'config.json', mutable: true }, deviceId: { source: 'config.json', mutable: true },