[node-patches] Change in ovirt-node[master]: network: No HWADDR for VLAN interfaces

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Sep 26 07:26:04 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: network: No HWADDR for VLAN interfaces
......................................................................

network: No HWADDR for VLAN interfaces

Previosuly it could come to name clashes when a ifcfg for a VLAn NIC
contained the hwaddr/mac of it's 'parent' NIC. This patch removes the
HWADDR entry from VLAN ifcfg files to prevent udev from renaming the
interface.

rhbz#858984

Change-Id: Iee09b3edad731a1005c5d4eb08e3986effc09dfe
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirtnode/network.py
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/07/8207/1

diff --git a/scripts/ovirtnode/network.py b/scripts/ovirtnode/network.py
index e503c27..3c5a044 100644
--- a/scripts/ovirtnode/network.py
+++ b/scripts/ovirtnode/network.py
@@ -119,7 +119,6 @@
             self.VL_CONFIG += "rm %s\n" % VL_ROOT
             self.VL_CONFIG += "set %s/DEVICE %s.%s\n" % (VL_ROOT, \
                                                 self.CONFIGURED_NIC, VLAN_ID)
-            self.VL_CONFIG += "set %s/HWADDR %s\n" % (VL_ROOT, nic_hwaddr)
             self.VL_CONFIG += "set %s/BRIDGE %s\n" % (VL_ROOT, BRIDGE)
             self.VL_CONFIG += "set %s/VLAN yes\n" % VL_ROOT
             self.VL_FILENAME = "%s.%s" % (IF_FILENAME, \


--
To view, visit http://gerrit.ovirt.org/8207
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee09b3edad731a1005c5d4eb08e3986effc09dfe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list