Created
August 10, 2011 19:40
-
-
Save rickmzp/1137924 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/ohai/plugins/rackspace.rb b/lib/ohai/plugins/rackspace.rb | |
| index ee44065..0812206 100644 | |
| --- a/lib/ohai/plugins/rackspace.rb | |
| +++ b/lib/ohai/plugins/rackspace.rb | |
| @@ -36,7 +36,7 @@ end | |
| def has_rackspace_mac? | |
| network[:interfaces].values.each do |iface| | |
| unless iface[:arp].nil? | |
| - return true if iface[:arp].value?("00:00:0c:07:ac:01") | |
| + return true if iface[:arp].value?("00:00:0c:07:ac:01") or iface[:arp].value?("00:00:0c:9f:f0:01") | |
| end | |
| end | |
| false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment