<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>expectコマンドなら入力を自動化できるので、それを使ってhackbenchを動かして終了するスクリプトを書いてみた。 expectのスクリプトはこんな感じで。 [masami@moonlight:~/kvm-img]% cat test.sh #!/usr/bin/expect -- set timeout 600 spawn kvm -hda lenny.img -m 512 -monitor stdio -boot c -serial stdio expect &quot;lenny login:&quot; send &quot;root\n&quot; expect &quot;Password:&quot; send &quot;password\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F20091213%2F1260714173&quot; title=&quot;シリアル接続とexpectコマンドで、処理の自動化。 - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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-12-13 23:22:53</published>
  <title>シリアル接続とexpectコマンドで、処理の自動化。</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/20091213/1260714173</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
