Here are some quick tips on creating an OpenStack Glance image based on Windows 2008 R2. There is a collection of good in-depth how-to’s on the internet, therefore will not be duplicating it here. Also make sure to download the virtio windows driver ISO here.
Create a raw image to install OS into:
# kvm-img create -f raw windows2008r2.img 15G
Install the OS (note, this is recommended to be done inside a GNOME desktop where KVM is installed:
# kvm -m 2048 -cdrom win2008r2.iso -drive file=windows2008r2.img,if=virtio -drive file=virtio-win-0.1-52.iso,media=cdrom,boot=off -net nic,model=virtio -net user
Leave A Reply