読者です 読者をやめる 読者になる 読者になる

harry’s memorandum

おれおれメモ

Ubuntu10.04でConVirt

Ubuntu10.04をいじってたときに、ふとConVirt思い出したのでインストールしてみた。超簡単。

インストール
$ sudo apt-get install convirt
設定
$ sudo /usr/share/convirt/install/managed_server/scripts/convirt-tool setup
DISTRO Ubuntu
VER 10.04
CODENAME lucid
KERNEL 2.6.32-21-generic
ARCH i686
Info: Sourcing /usr/share/convirt/install/managed_server/scripts/../../../common/scripts/Ubuntu_functions
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 Fabrice Bellard
qemu-kvm-0.12.3
Virtualization platform KVM Version qemu-kvm-0.12.3 
Disabling default dnsmasq service.
 * Stopping DNS forwarder and DHCP server dnsmasq                                * (not running)
 Removing any system startup links for /etc/init.d/dnsmasq ...
   /etc/rc1.d/K85dnsmasq
   /etc/rc2.d/S15dnsmasq
   /etc/rc3.d/S15dnsmasq
   /etc/rc4.d/S15dnsmasq
   /etc/rc5.d/S15dnsmasq
update-rc.d: warning: convirt-nw start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 5)
update-rc.d: warning: convirt-nw stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 4 6)
 Adding system startup for /etc/init.d/convirt-nw ...
   /etc/rc0.d/K20convirt-nw -> ../init.d/convirt-nw
   /etc/rc1.d/K20convirt-nw -> ../init.d/convirt-nw
   /etc/rc6.d/K20convirt-nw -> ../init.d/convirt-nw
   /etc/rc2.d/S20convirt-nw -> ../init.d/convirt-nw
   /etc/rc3.d/S20convirt-nw -> ../init.d/convirt-nw
   /etc/rc4.d/S20convirt-nw -> ../init.d/convirt-nw
   /etc/rc5.d/S20convirt-nw -> ../init.d/convirt-nw
interface eth0 already part of bridge. skiping it
BRIDGE NAME=br0
Setup successful.
ConVirtを起動
$ sudo convirt

f:id:dharry:20100505145809p:image

virt-managerはちょっとシンプルすぎるので、こちらを使うのもいいかもしれないですね。