New Question

Offline template conversion

asked 2016-10-19 18:57:11 +0300

jrack gravatar image

This might tread into "Use Coriolis" which is a fine enough answer, but figured I would poke at it a bit. ;-)

We have windows templates on a different hypervisor that we want to make available in a heterogeneous openstack cloud. So converting the files is easy, but we also need to handle the old drivers and the new ones while also injecting cloudbase-init.

For Hyper-V we are golden on drivers so it is just purge the previous stack to avoid strange BSODs and install cb-init.

For KVM though I need to get the virtio stack staged and installed beyond purging and cb-init. This creates annoying trips through glance starting w IDE, then back to scsi, etc. all while a person runs the process.

Could we at minimum stage the drivers using guestfish to avoid multiple volume annoyances etc? cb-init may still be declarative and touch the registry which makes it harder to do offline, but how far can we make template conversion headless and factory?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-10-21 22:32:06 +0300

avladu gravatar image

updated 2016-10-21 22:33:58 +0300


You can find all of your answers by looking into "windows-imaging-tools" on how to inject the drivers and "install-cloudbase-init-offline" on how to inject cloudbase-init.

These are the resources you need to poke with, depending on your scenarios:


Adrian Vladu

edit flag offensive delete link more


Awesome. I am not starting with a WIM so much of the slip streaming work won't match up, but I should be able to read through some of the approach and see if I can translate them to an existing VM state using guestfish etc. Just means I have to chase down nbd support.

jrack gravatar imagejrack ( 2016-10-24 17:16:00 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2016-10-19 18:57:11 +0300

Seen: 48 times

Last updated: Oct 21 '16