Re: [Openstack] Finding/Making Windows 7 Images for OpenStack
On Wed, Oct 24, 2012 at 3:05 PM, Mark Lehrer m...@knm.org wrote: for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle things that I might be Nope, it is indeed that simple. Make sure you use the same hardware settings as Openstack for the nic and disk and configure DHCP. It certainly might be that simple for a single instance, but I had trouble reusing that instance without using sysprep and generalize. Thanks, Curtis. However, activation and licensing can be annoying. We are considering using the datacenter edition here for this reason. Mark -- Twitter: @serverascode Blog: serverascode.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Finding/Making Windows 7 Images for OpenStack
Yes, you can do it with virt-manager. First, if you need it, you can modify the ISO... and then, with virti-manager you can create a machine to install the operating system (obtaining the disk image that should be uploaded to glance) The best way (IMHO) to deploy the template is generalizing the system, because it will bring you the oppotunity of reuse the image template. To do that, when the installer asks for your computer name, press Ctrl + Shift + F3 and you will enter in audit mode. In this state, you can modify the system before generalize, and finally you should run c:\windows\system32\sysprep\sysprep.exe /shutdown /generalize /oobe (have a look to the command). Then, your virtual machine is turned off and you'll be able to pick the disk, convert it to qcow2 (if needed), and add it to glance. With the image generalized, the next time it boots (on openstack), the OS will check the system to install drivers, etc, etc... Good luck! Cheers, Luis De: Curtis C. [serverasc...@gmail.com] Enviado el: lunes, 22 de octubre de 2012 19:05 Para: Luis Fernandez Alvarez Cc: openstack@lists.launchpad.net Asunto: Re: [Openstack] Finding/Making Windows 7 Images for OpenStack On Mon, Oct 22, 2012 at 3:11 AM, Luis Fernandez Alvarez luis.fernandez.alva...@cern.ch wrote: Hi Curtis, If you're planning to use Windows 7 images with KVM hypervisors, the main steps I follow are: 1- Modify your Windows 7 image to inject virtio drivers (http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers). To do that in a stylish way... you can use the Windows AIK that includes DISM.exe and IMAGEX.exe that let you inject drivers to the WIM files included in Windows 7 installation media. I don't know if you have experiencie with it...but...after mounting the wim files with imagex, you should run something like: dism /image:C:\path\mount /add-driver /driver:c:\virtiodrivers\win7\x86 Hi, Yeah, I will not be able to do anything stylish with Windows b/c of my lack of experience with Windows. :) * Alternatively: you can just add it during installation from an external media. That I have done. I definitely get the need for the virtio drivers. 2- Use a tool like Aeolus Oz to create the image (you can automate it with unattend.xml files) or the graphical KVM/qemu interface. So once I create the image I should use something like virt-manager to set it up? Maybe that's the step I'm missing. 3- Convert it to qcow2 and send it to glance. Right. If you need further information, do not hesitate to contact me. I very well may have to, thanks for the offer. :) I will checkout setting up the image after the initial install with virt-manager. Thanks, Curtis. Cheers, Luis. PS: You can also test the HyperV support, this way, you could use VHD images. De: openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net [openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net] en nombre de Curtis C. [serverasc...@gmail.com] Enviado el: domingo, 21 de octubre de 2012 1:56 Para: openstack@lists.launchpad.net Asunto: [Openstack] Finding/Making Windows 7 Images for OpenStack Hi, Has anyone seen any recent documentation on creating Windows 7 images for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle things that I might be missing because I haven't really used Windows in a decade. I've certainly done a lot of searching so if it's a link on the first ten pages page of google I've probably seen it already. :) Perhaps the best thing would be if anyone knew of a virtualbox/vagrant or similar methodology for automatically creating Windows 7 images that I could start from. Someone must be generating new Win 7 images daily for their private cloud somewhere/somehow... :) Any pointers much appreciated. Thanks, Curtis. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Twitter: @serverascode Blog: serverascode.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Finding/Making Windows 7 Images for OpenStack
On 10/21/2012 12:56 AM, Curtis C. wrote: Hi, Has anyone seen any recent documentation on creating Windows 7 images for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle things that I might be missing because I haven't really used Windows in a decade. I've certainly done a lot of searching so if it's a link on the first ten pages page of google I've probably seen it already. :) Perhaps the best thing would be if anyone knew of a virtualbox/vagrant or similar methodology for automatically creating Windows 7 images that I could start from. Someone must be generating new Win 7 images daily for their private cloud somewhere/somehow... :) Any pointers much appreciated. You could generate images for glance using OZ: https://github.com/clalancette/oz/wiki (I've not tried windows myself, but it's listed as being supported) thanks, Pádraig. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Finding/Making Windows 7 Images for OpenStack
Hi Curtis, If you're planning to use Windows 7 images with KVM hypervisors, the main steps I follow are: 1- Modify your Windows 7 image to inject virtio drivers (http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers). To do that in a stylish way... you can use the Windows AIK that includes DISM.exe and IMAGEX.exe that let you inject drivers to the WIM files included in Windows 7 installation media. I don't know if you have experiencie with it...but...after mounting the wim files with imagex, you should run something like: dism /image:C:\path\mount /add-driver /driver:c:\virtiodrivers\win7\x86 * Alternatively: you can just add it during installation from an external media. 2- Use a tool like Aeolus Oz to create the image (you can automate it with unattend.xml files) or the graphical KVM/qemu interface. 3- Convert it to qcow2 and send it to glance. If you need further information, do not hesitate to contact me. Cheers, Luis. PS: You can also test the HyperV support, this way, you could use VHD images. De: openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net [openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net] en nombre de Curtis C. [serverasc...@gmail.com] Enviado el: domingo, 21 de octubre de 2012 1:56 Para: openstack@lists.launchpad.net Asunto: [Openstack] Finding/Making Windows 7 Images for OpenStack Hi, Has anyone seen any recent documentation on creating Windows 7 images for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle things that I might be missing because I haven't really used Windows in a decade. I've certainly done a lot of searching so if it's a link on the first ten pages page of google I've probably seen it already. :) Perhaps the best thing would be if anyone knew of a virtualbox/vagrant or similar methodology for automatically creating Windows 7 images that I could start from. Someone must be generating new Win 7 images daily for their private cloud somewhere/somehow... :) Any pointers much appreciated. Thanks, Curtis. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Finding/Making Windows 7 Images for OpenStack
On Mon, Oct 22, 2012 at 3:11 AM, Luis Fernandez Alvarez luis.fernandez.alva...@cern.ch wrote: Hi Curtis, If you're planning to use Windows 7 images with KVM hypervisors, the main steps I follow are: 1- Modify your Windows 7 image to inject virtio drivers (http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers). To do that in a stylish way... you can use the Windows AIK that includes DISM.exe and IMAGEX.exe that let you inject drivers to the WIM files included in Windows 7 installation media. I don't know if you have experiencie with it...but...after mounting the wim files with imagex, you should run something like: dism /image:C:\path\mount /add-driver /driver:c:\virtiodrivers\win7\x86 Hi, Yeah, I will not be able to do anything stylish with Windows b/c of my lack of experience with Windows. :) * Alternatively: you can just add it during installation from an external media. That I have done. I definitely get the need for the virtio drivers. 2- Use a tool like Aeolus Oz to create the image (you can automate it with unattend.xml files) or the graphical KVM/qemu interface. So once I create the image I should use something like virt-manager to set it up? Maybe that's the step I'm missing. 3- Convert it to qcow2 and send it to glance. Right. If you need further information, do not hesitate to contact me. I very well may have to, thanks for the offer. :) I will checkout setting up the image after the initial install with virt-manager. Thanks, Curtis. Cheers, Luis. PS: You can also test the HyperV support, this way, you could use VHD images. De: openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net [openstack-bounces+luis.fernandez.alvarez=cern...@lists.launchpad.net] en nombre de Curtis C. [serverasc...@gmail.com] Enviado el: domingo, 21 de octubre de 2012 1:56 Para: openstack@lists.launchpad.net Asunto: [Openstack] Finding/Making Windows 7 Images for OpenStack Hi, Has anyone seen any recent documentation on creating Windows 7 images for OpenStack? I know it's supposed to be as easy as using kvm to install it initially (as per the OpenStack docs) then importing that image into glance, but there are some subtle things that I might be missing because I haven't really used Windows in a decade. I've certainly done a lot of searching so if it's a link on the first ten pages page of google I've probably seen it already. :) Perhaps the best thing would be if anyone knew of a virtualbox/vagrant or similar methodology for automatically creating Windows 7 images that I could start from. Someone must be generating new Win 7 images daily for their private cloud somewhere/somehow... :) Any pointers much appreciated. Thanks, Curtis. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Twitter: @serverascode Blog: serverascode.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp