Tell Network Manager to keep hands off vif interfaces

...somehow indirectly, by specifying the mac; unfortunately I do not
see any other way.
这个提交包含在:
Rafal Wojtczuk 2010-09-07 13:18:08 +02:00
父节点 a013973806
当前提交 1239643c73
共有 2 个文件被更改,包括 7 次插入0 次删除

查看文件

@ -114,6 +114,9 @@ sed -i 's/\/block /\/block.qubes /' /etc/udev/rules.d/xen-backend.rules
%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 [ -e /etc/yum.repos.d/qubes-r1-dom0.repo ]; then
# we want the user to use the repo that comes with qubes-code-dom0 packages instead
rm -f /etc/yum.repos.d/qubes-r1-dom0.repo

查看文件

@ -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