packer-cn/builder
DanHam 534fc4a473
Ensure the export directory structure matches that of previous versions
Commit 3fc2defb6 altered the directory structure associated with an
exported VM. The changes mean that the export process now stores the
exported machine files and folders under a folder with name 'vm_name' in
the output directory.
This commit restores the previous behaviour whereby the exported machine
files and folders were stored directly in the output directory. This
allows us to keep the efficiency improvements introduced with 3fc2defb6
while maintaining backward compatibility.

By default the Export-VM command creates three folders in the specified
export directory - 'Virtual Hard Disks', 'Virtual Machines' and
'Snapshots'. When a machine with no associated snapshots is exported the
'Snapshots' directory is empty.
Prior to 3fc2defb6 the Snapshots folder was not copied/incorporated into
the output directory at all. This was a bug.
This commit preserves the legacy behaviour by not including an empty
Snapshots directory in the export. However, if there *are* Snapshots
associated with the VM, they are now moved into the output directory
along with the usual directories containing disks and VM metadata. This
prevents warnings/errors on import due to missing snapshots.
2018-07-20 02:09:57 +01:00
..
alicloud/ecs fix vpc clean up issue 2018-06-25 09:16:06 +08:00
amazon spellfix 2018-07-18 13:00:45 -07:00
azure managed_image_resource_group_name max length change 2018-07-11 11:31:51 -04:00
cloudstack flag to setup networking without firewall rules 2018-07-16 13:06:51 +02:00
digitalocean digitalocean: artifact should include build region and fixed docs 2018-06-03 16:37:38 +02:00
docker remove attempt to discover whether destination is a directory from upload function in various communicators 2018-04-10 08:13:06 -07:00
file spelling: virtualization 2018-03-14 03:29:14 +00:00
googlecompute Update driver_gce.go 2018-05-31 11:29:57 +05:30
hyperv Ensure the export directory structure matches that of previous versions 2018-07-20 02:09:57 +01:00
lxc Merge pull request #5426 from hashicorp/fix_4915 2018-02-05 14:54:27 -08:00
lxd minor LXD documentation tweaks 2018-03-23 15:46:39 -07:00
ncloud spelling: template 2018-03-14 03:24:51 +00:00
null move multistep imports to helper. 2018-01-24 17:09:15 -08:00
oneandone fix imports 2018-01-24 17:09:17 -08:00
openstack openstack: Add support for token authorization and cloud.yaml 2018-06-08 21:38:26 +02:00
oracle Incorporate review comments 2018-07-17 17:41:19 +02:00
parallels Remove tmp directories created by builder/parallels/common tests 2018-04-30 20:38:03 +01:00
profitbricks fix imports 2018-01-24 17:09:17 -08:00
qemu vnc_bind_address not getting passed through to qemu 2018-07-09 14:05:39 -06:00
scaleway scaleway: add 'bootscript' configuration parameter 2018-06-29 19:44:56 +02:00
triton Merge pull request #6039 from stack72/triton-insecure-skip-tls-verify 2018-04-20 13:44:28 -07:00
virtualbox Merge pull request #6370 from arizvisa/patch-1 2018-06-27 10:30:30 -07:00
vmware Merge pull request #6440 from DanHam/simplify-vmx-find-disks 2018-07-12 11:05:35 -07:00