From 089fcbd0c59da799c09f8102a665cce7907a5042 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 9 May 2023 11:37:50 -0400 Subject: [PATCH] Fix NIC escaping --- setup/so-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 1a96d4bd0..7cd87b091 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2293,8 +2293,8 @@ set_initial_firewall_access() { set_management_interface() { title "Setting up the main interface" if [ "$address_type" = 'DHCP' ]; then - logCmd "nmcli con mod '$MNIC' connection.autoconnect yes" - logCmd "nmcli con up '$MNIC'" + logCmd "nmcli con mod \"$MNIC\" connection.autoconnect yes" + logCmd "nmcli con up \"$MNIC\"" else # Set Static IP nmcli con mod "$MNIC" ipv4.addresses "$MIP"/"$MMASK"\