Skip to content

smaller systemvm images using sparse disks. - #2488

Closed
yadvr wants to merge 1 commit into
apache:4.11from
shapeblue:paul-systemvm-fix
Closed

yadvr wants to merge 1 commit into
apache:4.11from
shapeblue:paul-systemvm-fix

Conversation

@yadvr

@yadvr yadvr commented Mar 15, 2018

Copy link
Copy Markdown
Member

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

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr added this to the 4.11.1.0 milestone Mar 15, 2018
Comment thread tools/appliance/build.sh
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
Copy Markdown
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?

@yadvr

yadvr commented Mar 23, 2018

Copy link
Copy Markdown
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.

@yadvr yadvr closed this Mar 23, 2018
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.

1 participant