network: set uplink configuration based on MAC (NetworkManager)
This commit is contained in:
parent
dbd19698b3
commit
b3429b596d
@ -29,6 +29,9 @@ if [ x$ip != x ]; then
|
||||
cat > /etc/NetworkManager/system-connections/qubes-uplink-$INTERFACE <<__EOF__
|
||||
[802-3-ethernet]
|
||||
duplex=full
|
||||
|
||||
[ethernet]
|
||||
mac-address=`ip l show dev $INTERFACE |grep link|awk '{print $2}'`
|
||||
|
||||
[connection]
|
||||
id=VM uplink $INTERFACE
|
||||
|
Loading…
Reference in New Issue
Block a user