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