Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smaller systemvm images using sparse disks. #2488

Closed
wants to merge 1 commit into from

Conversation

rohityadavcloud
Copy link
Member

This is from @PaulAngus 's PR #2477 towards 4.11.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
faketime '2010-01-01' vhd-util convert -s 1 -t 2 -i stagefixed.vhd -o "${appliance_build_name}-xen.vhd"
cp "dist/${appliance}" "dist/${appliance}-xen"
vhd-util convert -s 0 -t 1 -i "dist/${appliance}-xen" -o stagefixed.vhd
faketime '2010-01-01' qemu-img convert -S 512 -O vpc -o subformat=dynamic stagefixed.vhd "${appliance_build_name}-xen.vhd"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PaulAngus can you confirm if this could break template on XenServer, as qemu-img is used to convert the staged vhd file to vpc output format that corresponds to HyperV vhd?

@rohityadavcloud
Copy link
Member Author

@PaulAngus looks like there is no solution for now available with linux tools to export a compressed vhd file. A slightly semi-automated way could be to export template using xenserver windows/export tools.

As commented, closing this PR as the exported vhd is of vpc type that is compatible with HyperV but not XenServer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant