|
|
@ -168,9 +168,7 @@ umount_disk_image() {
|
|
|
|
|
|
|
|
|
|
|
|
modify_vmdk_header() {
|
|
|
|
modify_vmdk_header() {
|
|
|
|
# Modify the VMDK headers so that both VirtualBox _and_ VMware can
|
|
|
|
# Modify the VMDK headers so that both VirtualBox _and_ VMware can
|
|
|
|
# read the vmdk and import them. The vodoo here is _not_ documented
|
|
|
|
# read the vmdk and import them.
|
|
|
|
# anywhere....so this will have to do. This is undocumented vodoo
|
|
|
|
|
|
|
|
# that has been learned by the Cloud Image team.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vmdk_name="${1}"
|
|
|
|
vmdk_name="${1}"
|
|
|
|
descriptor=$(mktemp)
|
|
|
|
descriptor=$(mktemp)
|
|
|
|