<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>xen</anon>
    <anon>virtualization</anon>
    <anon>ruby</anon>
  </categories>
  <description>xenのdomain-uを複製したあと、定義ファイルのUUIDとMACアドレスを手でコリコリ書くのはバカっぽいので ユニークなUUIDとMACアドレスを生成するゴミプロ。 #!/usr/bin/ruby # vender-id 00:16:3e mac_address = [&quot;00&quot;, &quot;16&quot;, &quot;3e&quot;] 3.times {|n| mac_address &lt;&lt; format(&quot;%02x&quot;,rand(255)) } buff = [] 16.times {|n| buff &lt;&lt; format(&quot;%02x&quot;,rand(255)) } uuid = [buff[0,4].join,buff[4,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20090107%2F1231268431&quot; title=&quot; Xen Domain-U の UUIDとMACアドレス - harry’s memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-07 04:00:31</published>
  <title> Xen Domain-U の UUIDとMACアドレス</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20090107/1231268431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
