Skip to content
Browse files

Support multiple NIC

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 3, 2019
1 parent 1a3327a commit 64703b14ac4a585095f7bfd019af205c16997969
Showing with 5 additions and 2 deletions.
  1. +5 −2 build/190-mac-address
@@ -41,11 +41,14 @@ wifi.cloned-mac-address=permanent


# Set the connection to persistent
# Set the connection to persistent
for uuid in $(nmcli -g uuid con); do
echo "set ethernet.cloned-mac-address permanent
set wifi.cloned-mac-address permanent
save persistent
" | nmcli connection edit $(nmcli -g uuid con)
" | nmcli connection edit "${uuid}"

# Restart NetworkManger to re-establish all connections
systemctl restart network-manager

0 comments on commit 64703b1

Please sign in to comment.
You can’t perform that action at this time.