[Ovirt-devel] [PATCH node] Changes how macs are collected by ovirt-early.

Darryl L. Pierce dpierce at redhat.com
Tue Mar 31 16:31:56 UTC 2009


On Tue, Mar 31, 2009 at 06:21:04PM +0200, Alan Pevec wrote:
> just one more thing, then ACK
> 
> > +           mac=$(cat /sys/class/net/$device/address)
>      mac=$(cat /sys/class/net/$device/address 2>/dev/null)
> 
> otherwise you get unnecessary error message where address doesn't exist e.g.
> cat: /sys/class/net/bonding_masters/address: Not a directory

Thanks. Changed and pushed.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
Is fearr Gaeilge bhriste ná Béarla cliste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090331/a01d257e/attachment.sig>


More information about the ovirt-devel mailing list