OpenStack Windows 2008 Image Maker

Source: Internet
Author: User
Tags administrator password

OpenStack Windows 2008 Image Maker

OpenStack CENTOS6 centos7 KVM image maker Http://www.cnblogs.com/elvi/p/7922421.html

OpenStack Pike cluster Highly available installation deployment Rollup http://www.cnblogs.com/elvi/p/7613861.html

################################################# #win2008镜像制作 #openstack windows 2008 Image Maker # Preparing for Windows install ISO image # Download Virtio driver # download page https://fedoraproject.org/wiki/Windows_Virtio_Drivers#Direct_download#Virtio driver (disk only, NIC driver) HTTPS ://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/ Virtio-win-0.1.141_amd64.vfd#qemu-ga Reset Password using https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/ The Archive-qemu-ga/qemu-ga-win-7.4.5-1/qemu-ga-x64.msi#iso contains all drives (requires balloon,vioserial drive inside) https:// fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/ virtio-win-0.1.141.iso# download cloudbase-inithttps://cloudbase.it/cloudbase-init/#download # Create a KVM Virtual machine # # Win2008kname=  Win2008qemu-img create-f qcow2/kvm/img/$Kname. Qcow2 15G virt-install--name $Kname--arch=x86_64--ram 2048--vcpus 2 --os-type Windows--network network=default,model=virtio--cdrom=/kvm/iso/cn_windows_server_2008_r2.iso--disk path= /kvm/iso/virtio-win-0.1.141_amd64.vfd,devicE=floppy--disk path=/kvm/img/$Kname. Qcow2,format=qcow2,device=disk,bus=virtio--boot cdrom--graphics vnc,port=5908 #安装Virtio驱动, Qemu-ga, cloudbase-init################################################# #yum install Libvirt Libguestfs-tools-ykname=win2008virsh List--all# performing cleanup tasks virt-sysprep-d $Kname # compression #cd/kvm/img/virt-sparsify--compress $Kname. Qcow2 $Kname-.qcow2ls-hl/kvm/img/$Kname *################################################# #上传到glance #  Win2008openstack image Create "win2008"--file win2008-.qcow2--disk-format qcow2--container-format bare--property Hw_qemu_guest_agent=yes--public################################################# #提示: After you create a virtual machine, The first boot requires resetting the administrator password to use #################################################

  

OpenStack Windows 2008 Image Maker

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.