Skip to main content
Version: Next

Unit config

This configuration adjusts default unit settings. It is common for all units of the same model. And it can be changed on Target Systems page in Web UI of OEM user.

Change unitConfig

Schema view for unit config

Loading schema...

Example

{
"formatVersion": 1,
"vendorVersion": "12",
"components": [
{
"id": "rootfs",
"description": "rootfs component"
},
{
"id": "boot"
}
],
"nodes": [
{
"nodeType": "nodeType",
"priority": 100,
"devices": [
{
"name": "camera0",
"sharedCount": 0,
"groups": [
"user1",
"user2"
],
"hostDevices": [
"/dev/video0:/dev/mainvideo",
"/dev/video1:/dev/secondaryvideo",
"/dev/video2"
]
},
{
"name": "mic0",
"sharedCount": 1,
"hostDevices": [
"/dev/snd/controlC0",
"/dev/snd/pcmC0D0c",
"/dev/snd/timer"
]
},
{
"name": "audio0",
"sharedCount": 0,
"groups": [
"user1"
],
"hostDevices": [
"/dev/snd/controlC0",
"/dev/snd/pcmC0D0p",
"/dev/snd/timer"
]
}
],
"resources": [
{
"name": "some_host_resource",
"groups": [
"user1"
],
"mounts": [
{
"destination": "/var/container_folder",
"source": "/usr/bin/host_folder",
"options": [
"rw"
],
"type": "tmpfs"
}
],
"env": [
"key1=value1"
],
"hosts": [
{
"ip": "10.0.0.1",
"hostname": "hostservername"
}
]
}
],
"labels": [
"node0Label"
]
}
]
}