fixes for making domU image.