{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F20090720%2F1248099862\" title=\"/etc/kvm/kvmtap - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/int128/","image_url":null,"provider_name":"Hatena Blog","blog_title":"GeekFactory","blog_url":"https://int128.hatenablog.com/","url":"https://int128.hatenablog.com/entry/20090720/1248099862","published":"2009-07-20 23:24:22","categories":["Linux","KVM"],"provider_url":"https://hatena.blog","height":"190","description":"kvm-ifup\u306f\u30d6\u30ea\u30c3\u30b8\u3092\u52dd\u624b\u306b\u9078\u3093\u3067\u3057\u307e\u3046\u305f\u3081\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3067\u30d6\u30ea\u30c3\u30b8\u3092\u6307\u5b9a\u3067\u304d\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 #!/bin/bash # /etc/kvm/kvmtap: TAP device wrapper for KVM cmd=\"`basename \"$0\"`\" spec=\"${cmd#*-}\" iface=\"${spec#*-}\" operation=\"${spec%-*}\" case \"$operation\" in \"up\") logger -t kvm \"adding interface ($1) to bridge ($iface)\" /sbin/ifconfig \"$1\u2026","width":"100%","author_name":"int128","version":"1.0","title":"/etc/kvm/kvmtap","type":"rich"}