From f810fbb547bc97641899a101ec0c8d882553019f Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Tue, 7 Sep 2010 13:18:08 +0200 Subject: [PATCH] Tell Network Manager to keep hands off vif interfaces ...somehow indirectly, by specifying the mac; unfortunately I do not see any other way. --- rpm_spec/core-netvm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm_spec/core-netvm.spec b/rpm_spec/core-netvm.spec index 88255ae..1717b6b 100644 --- a/rpm_spec/core-netvm.spec +++ b/rpm_spec/core-netvm.spec @@ -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