OpenStack中的Windows鏡像需要裝Cloudbase-init的腳本。
1. 從這裏下載已經做好的Windows鏡像文件 http://www.cloudbase.it/ws2012r2
2. 如果你用RDO安裝OpenStack的話,source keystonerc_admin
3. 導入虛擬機 glance image-create --name=windows_server_2012 --disk-format=qcow2 --container-format=bare < windows_server_2012_r2_standard_eval_kvm_20131117.qcow2
4. 啓動VM,並記下instance的名字和launc用的key的名字
5. nova get-password <instance> <private key>
比如
# nova get-password windows ucs30.pem
8itUhS9at7rS6q
6. VM啓動好之後就可以用remote desktop連接VM,初始用戶名是'Admin', 密碼在上一步得到,這個例子裏的密碼就是8itUhS9at7rS6q。