From 537b9cab037aecfd18edef156dd3ea55072918e9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 1 Mar 2022 01:57:57 +1100 Subject: Rework network config (#1001) * Update network configuration * Rework network configuration * Update documentation * Fix flake8 * Update Co-authored-by: Daniel Girtler Co-authored-by: Anton Hvornum --- schema.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'schema.json') diff --git a/schema.json b/schema.json index aacf3f07..e4b19b64 100644 --- a/schema.json +++ b/schema.json @@ -84,18 +84,18 @@ "description": "Choose between NetworkManager, manual configuration, use systemd-networkd from the ISO or no configuration", "type": "object", "properties": { - "NetworkManager": { - "description": "", - "type": "boolean" - }, - "interface-name": { - "address": "ip address", - "subnet": "255.255.255.0", - "gateway": "ip address", - "dns": "ip address" - }, - "nic": "Copy ISO network configuration to installation", - "nic": {} + "type": "string", + "iface": "string", + "dhcp": "boolean", + "ip": "string", + "gateway": "string", + "dns": { + "description": "List of DNS servers", + "type": "array", + "items": { + "type": "string" + } + } } }, "ntp": { -- cgit v1.2.3-70-g09d2