From 26b329a9bd423de09c94793ff44a5d2a3780e474 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 15 Dec 2025 09:47:57 -0500 Subject: [PATCH] Update Validation --- setup/so-functions | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index b93c01715..07f0f1f4f 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1504,7 +1504,13 @@ networking_needful() { if [[ $reinit_networking ]] || ! [[ -f $net_init_file ]]; then collect_hostname fi - [[ ! ( $is_eval || $is_import ) ]] && whiptail_node_description + if [[ ! ( $is_eval || $is_import ) ]]; then + whiptail_node_description + while [[ "$NODE_DESCRIPTION" =~ [[:cntrl:]] ]]; do + whiptail_error_message "Node description cannot contain control characters. Please enter a new description." + whiptail_node_description + done + fi if [[ $reinit_networking ]] || ! [[ -f $net_init_file ]]; then network_init_whiptail else