Skip to content

Commit 138c64b

Browse files
committed
Adapted schema for new options
1 parent e3a098e commit 138c64b

1 file changed

Lines changed: 33 additions & 12 deletions

File tree

‎system/cuos/system-schema.json‎

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
"items": {
2727
"type": "object",
2828
"properties": {
29+
"name": {
30+
"type": "string",
31+
"description": "Interface name for interface identification",
32+
"pattern": "^e[0-9A-Za-z]+$"
33+
},
34+
"mac-address": {
35+
"type": "string",
36+
"description": "MAC address for interface identification",
37+
"pattern": "^(?:[0-9A-Fa-f]{2}([-:])(?:[0-9A-Fa-f]{2}\\1){4}[0-9A-Fa-f]{2}|[0-9A-Fa-f]{12})$"
38+
},
2939
"dhcp": {
3040
"type": "boolean",
3141
"default": false,
@@ -104,18 +114,6 @@
104114
}
105115
}
106116
},
107-
"docker_net_prefix": {
108-
"type": "string",
109-
"description": "First two octets of the Docker network IP range (e.g., '10.235')",
110-
"pattern": "^\\d{1,3}\\.\\d{1,3}$",
111-
"default": "10.235"
112-
},
113-
"docker_bridge_net": {
114-
"type": "string",
115-
"description": "CIDR notation for Docker bridge network (e.g., '10.235.255.1/24')",
116-
"pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}/\\d{1,2}$",
117-
"default": "10.235.255.1/24"
118-
},
119117
"docker_net_space": {
120118
"type": "string",
121119
"description": "CIDR notation for Docker container network space (e.g., '10.235.128.0/18')",
@@ -183,6 +181,29 @@
183181
"os_image_digest": {
184182
"type": "string",
185183
"description": "Digest of the OS image for integrity check (optional)"
184+
},
185+
"keyboard_model": {
186+
"type": "string",
187+
"description": "Keyboard Model",
188+
"pattern": "^[A-Za-z]+[0-9]+$"
189+
},
190+
"keyboard_layout": {
191+
"type": "string",
192+
"description": "Keyboard Layout",
193+
"pattern": "^[A-Za-z]{2}$"
194+
},
195+
"keyboard_variant": {
196+
"type": "string",
197+
"description": "Keyboard Variant",
198+
"pattern": "^[A-Za-z0-9_-]{1,32}$"
199+
},
200+
"os_root_password": {
201+
"type": "string",
202+
"description": "Root Password for the operating system: local login or SSH - hash or password"
203+
},
204+
"os_ssh_server": {
205+
"type": "boolean",
206+
"description": "Activate SSH server for the operating system"
186207
}
187208
}
188209
}

0 commit comments

Comments
 (0)