Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/config-sample.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 /examples/config-sample.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 'examples/config-sample.json')
-rw-r--r--examples/config-sample.json20
1 files changed, 13 insertions, 7 deletions
diff --git a/examples/config-sample.json b/examples/config-sample.json
index a7c5d537..38415b2c 100644
--- a/examples/config-sample.json
+++ b/examples/config-sample.json
@@ -99,13 +99,19 @@
"http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch": true,
}
},
- "nic": {
- "dhcp": true,
- "dns": null,
- "gateway": null,
- "iface": null,
- "ip": null,
- "type": "nm"
+ "network_config": {
+ "nics": [
+ {
+ "dhcp": false,
+ "dns": [
+ "3.3.3.3"
+ ],
+ "gateway": "2.2.2.2",
+ "iface": "enp0s31f6",
+ "ip": "1.1.1.1"
+ }
+ ],
+ "type": "manual"
},
"no_pkg_lookups": false,
"ntp": true,