diff --git a/network/setup-ip b/network/setup-ip index 4fa3c12..0bc02f9 100755 --- a/network/setup-ip +++ b/network/setup-ip @@ -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