Tell Network Manager to keep hands off vif interfaces

...somehow indirectly, by specifying the mac; unfortunately I do not
see any other way.
This commit is contained in:
Rafal Wojtczuk 2010-09-07 13:18:08 +02:00
parent 81a57ec32b
commit f810fbb547

View File

@ -80,6 +80,10 @@ cp /var/lib/qubes/serial.conf /etc/init/serial.conf
%post
if ! grep -q ^no-auto-default.*=.*FE:FF:FF:FF:FF:FF /etc/NetworkManager/nm-system-settings.conf ; then
echo no-auto-default=FE:FF:FF:FF:FF:FF >> /etc/NetworkManager/nm-system-settings.conf
fi
if [ "$1" != 1 ] ; then
# do this whole %post thing only when updating for the first time...
exit 0