mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #10317 from Security-Onion-Solutions/airgaps
Remove escaping from nmcli
This commit is contained in:
@@ -2293,8 +2293,8 @@ set_initial_firewall_access() {
|
|||||||
set_management_interface() {
|
set_management_interface() {
|
||||||
title "Setting up the main interface"
|
title "Setting up the main interface"
|
||||||
if [ "$address_type" = 'DHCP' ]; then
|
if [ "$address_type" = 'DHCP' ]; then
|
||||||
logCmd "nmcli con mod \"$MNIC\" connection.autoconnect yes"
|
logCmd "nmcli con mod $MNIC connection.autoconnect yes"
|
||||||
logCmd "nmcli con up \"$MNIC\""
|
logCmd "nmcli con up $MNIC"
|
||||||
else
|
else
|
||||||
# Set Static IP
|
# Set Static IP
|
||||||
nmcli con mod "$MNIC" ipv4.addresses "$MIP"/"$MMASK"\
|
nmcli con mod "$MNIC" ipv4.addresses "$MIP"/"$MMASK"\
|
||||||
|
|||||||
Reference in New Issue
Block a user