mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-1340: Shrink the final virtual disk, vmdk was not supported, use vdi
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
aabaf25ce4
commit
23be2e7ba0
@ -40,7 +40,10 @@ done
|
||||
|
||||
# Get appliance uuids
|
||||
machine_uuid=`vboxmanage showvminfo $appliance | grep UUID | head -1 | awk '{print $2}'`
|
||||
hdd_uuid=`vboxmanage showvminfo $appliance | grep vmdk | head -1 | awk '{print $8}' | cut -d ')' -f 1`
|
||||
hdd_uuid=`vboxmanage showvminfo $appliance | grep vdi | head -1 | awk '{print $8}' | cut -d ')' -f 1`
|
||||
|
||||
# Compact the virtual hdd
|
||||
vboxmanage modifyhd $hdd_uuid --compact
|
||||
|
||||
# Start exporting
|
||||
rm -fr dist
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Veewee::Definition.declare({
|
||||
:cpu_count => '1',
|
||||
:memory_size=> '256',
|
||||
:disk_size => '2048', :disk_format => 'VMDK', :hostiocache => 'off',
|
||||
:disk_size => '2048', :disk_format => 'VDI', :hostiocache => 'off',
|
||||
:os_type_id => 'Debian',
|
||||
:iso_file => "debian-wheezy-DI-b4-i386-netinst.iso",
|
||||
:iso_src => "http://cdimage.debian.org/cdimage/wheezy_di_beta4/i386/iso-cd/debian-wheezy-DI-b4-i386-netinst.iso",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user