From 074aae37d282cb51147e08deddeb4a4a6b615113 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Tue, 30 Apr 2024 09:44:39 -0500 Subject: [PATCH] simply the remotehosts schema ip address validation and make it more accurate --- schema/remotehosts.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/remotehosts.json b/schema/remotehosts.json index 3304ecce..6a4c8bc8 100644 --- a/schema/remotehosts.json +++ b/schema/remotehosts.json @@ -88,7 +88,7 @@ "properties": { "controller-ip-address": { "type": "string", - "pattern": "^[1-9][0-9]{0,2}\\.[1-9][0-9]{0,2}\\.[1-9][0-9]{0,2}\\.[1-9][0-9]{0,2}$" + "pattern": "^\d{1,3}\\.\d{1,3}\\.\d{1,3}\\.\d{1,3}$" }, "cpu-partitioning": { "type": "boolean"