{"description":"xen\u306edomain-u\u3092\u8907\u88fd\u3057\u305f\u3042\u3068\u3001\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306eUUID\u3068MAC\u30a2\u30c9\u30ec\u30b9\u3092\u624b\u3067\u30b3\u30ea\u30b3\u30ea\u66f8\u304f\u306e\u306f\u30d0\u30ab\u3063\u307d\u3044\u306e\u3067 \u30e6\u30cb\u30fc\u30af\u306aUUID\u3068MAC\u30a2\u30c9\u30ec\u30b9\u3092\u751f\u6210\u3059\u308b\u30b4\u30df\u30d7\u30ed\u3002 #!/usr/bin/ruby # vender-id 00:16:3e mac_address = [\"00\", \"16\", \"3e\"] 3.times {|n| mac_address << format(\"%02x\",rand(255)) } buff = [] 16.times {|n| buff << format(\"%02x\",rand(255)) } uuid = [buff[0,4].join,buff[4,\u2026","height":"190","categories":["xen","virtualization","ruby"],"width":"100%","author_url":"https://blog.hatena.ne.jp/dharry/","author_name":"dharry","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20090107%2F1231268431\" title=\" Xen Domain-U \u306e UUID\u3068MAC\u30a2\u30c9\u30ec\u30b9 - harry\u2019s memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://dharry.hatenablog.com/","url":"https://dharry.hatenablog.com/entry/20090107/1231268431","type":"rich","published":"2009-01-07 04:00:31","provider_name":"Hatena Blog","title":" Xen Domain-U \u306e UUID\u3068MAC\u30a2\u30c9\u30ec\u30b9","blog_title":"harry\u2019s memorandum"}