Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/schema.json
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-07-17 17:27:21 +1000
committerGitHub <noreply@github.com>2023-07-17 09:27:21 +0200
commit2f273868d416c3309191db8c616aae683d78370a (patch)
tree9b38c0b631774d50b037bda3cef764e8cdf740d8 /schema.json
parentc67bb0b549b35ce335941c9c1cbe22f99c28f7fe (diff)
Fix network settings loading from config file (#1921)
* Fix network config error and simplify code * Update schema and exmaple --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'schema.json')
-rw-r--r--schema.json23
1 files changed, 14 insertions, 9 deletions
diff --git a/schema.json b/schema.json
index 0a41ebf0..b74588a1 100644
--- a/schema.json
+++ b/schema.json
@@ -69,21 +69,26 @@
"description": "By default, it will autodetect the best region. Enter a region or a dictionary of regions and mirrors to use specific ones",
"type": "object"
},
- "nic": {
+ "network_config": {
"description": "Choose between NetworkManager, manual configuration, use systemd-networkd from the ISO or no configuration",
"type": "object",
"properties": {
"type": "string",
- "iface": "string",
- "dhcp": "boolean",
- "ip": "string",
- "gateway": "string",
- "dns": {
- "description": "List of DNS servers",
+ "nics": [
"type": "array",
"items": {
- "type": "string"
- }
+ "iface": "string",
+ "dhcp": "boolean",
+ "ip": "string",
+ "gateway": "string",
+ "dns": {
+ "description": "List of DNS servers",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ]
}
}
},