#> dpkg -i ubuntu-vm-builder_0.6_all.deb
I suggest to use approx for caching packages
#> sudo apt-get kvm libvirt-bin
#> sudo adduser `id -un` libvirtd (and relogin)
To have a working virio inside the guest i patched:
--- /usr/share/ubuntu-vm-builder/templates/libvirt.tmpl.orig
+++ /usr/share/ubuntu-vm-builder/templates/libvirt.tmpl
@@ -18,13 +18,14 @@
<interface type='network'>
<mac address='%MAC%'/>
<source network='default'/>
+ <model type='virtio'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
%loop%
<disk type='file' device='disk'>
<source file='%img%'/>
- <target dev='hd%curdisk%'/>
+ <target dev='hd%curdisk%' bus='virtio'/>
</disk>
%/loop%
</devices>
#> ubuntu-vm-builder
Read More...
[ view entry ] ( 2264 views ) | print article
<<First <Back | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Next> Last>>