OpenNebula / one-swap

Migrate VMware workloads to OpenNebula/KVM
Apache License 2.0
5 stars 1 forks source link

B Windows Context fails to copy file in #20

Closed onenhansen closed 3 months ago

onenhansen commented 3 months ago

Context injection fails when copying the file into windows because the target directory doesn't always exist:

virt-customize: error: libguestfs error: target ‘/Temp’ is not a 
directory

If reporting bugs, run virt-customize with debugging enabled and include 
the complete output:

  virt-customize -v -x [...]

Fix: add --mkdir /Temp to the virt-customize command generation.