KVMにDebian Wheezyをコンソールでインストールする


kvmやvirshなどの環境は入っている前提です。

virt-install \
    --accelerate \
    --connect=qemu:///system \
    --name wheezy \
    --ram 256 \
    --vcpus 1 \
    --noacpi \
    --os-type=linux \
    --hvm \
    --network bridge:br0x0 \
    --location='http://ftp.jp.debian.org/debian/dists/wheezy/main/installer-amd64/' \
    --disk path=/var/lib/libvirt/images/wheezy.img \
    --nographics \
    --extra-args='console=tty0 console=ttyS0,115200n8'

あとはコンソールでインストールを進めていく