Categories
OpenStack Ubuntu 14 Installation

Windows image

In this video we make an image for windows and upload to openstack so we can make windows instaces on our cloud.

Link to Openstack docs:
https://docs.openstack.org/image-guide/obtain-images.html#microsoft-windows

Link to trial versions of windows server:
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012

Link to virtualbox:
https://www.virtualbox.org/wiki/Downloads

Link to a good walk through on how to make a Openstack windows image:
https://maestropandy.wordpress.com/2014/12/05/create-a-windows-openstack-vm-with-virtualbox/

Link to virtio drives:
https://launchpad.net/kvm-guest-drivers-windows/20120712/20120712/+download/virtio-win-drivers-20120712-1.iso

REMEMBER TO LOAD THE HARD DRIVE VIRTUAL DRIVER, SEE VIDEO.

Link to cloud init program:
https://cloudbase.it/cloudbase-init/

Grab putty PSCP:
https://the.earth.li/~sgtatham/putty/latest/w32/pscp.exe

From a DOS window SCP using PSCP to the maas server:

pscp.exe "C:\Users\chris\VirtualBox VMs\Windows\Windows.qcow" chris@192.168.1.150:/tmp

Convert from a raw to qcow2 on the maas server:

qemu-img convert -f qcow -O qcow2 "Windows.qcow" Windows.qcow2

Download the file back to the Windows box:

C:\Users\chris\Downloads>pscp.exe "chris@192.168.1.150:/tmp/Windows.qcow2" "C:\Users\chris\VirtualBox VMs\Windows\Windows.qcow2"