Doron Fediuck has submitted this change and it was merged.

Change subject: bootstrap: ignore address-less interfaces when creating id
......................................................................


bootstrap: ignore address-less interfaces when creating id

There are interfaces that has mac of zero, and there are
interfaces without any mac.

Example:
 ---
 # cat /sys/class/net/*/address
 f0:de:f1:3a:43:8d
 00:00:00:00:00:00
 1e:11:dd:d7:2c:b0
 6a:e4:ca:72:54:75
 1e:11:dd:d7:2c:b0

 00:90:51:00:1a:d4
 ---

Code should also ignore the macless interfaces.

+ add full path to cat.

Change-Id: I95a5718023da976bf955d90ee8b8b8dff6ba07c7
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsInstaller.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Doron Fediuck: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I95a5718023da976bf955d90ee8b8b8dff6ba07c7
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschr...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to