bartekjan
Contributor
Contributor

Error retrieving file for VIB ... '_SharedFile' object has no attribute 'writing'

Hi,

I would like to export depot to iso. So, I do "export-esximageprofile -imageprofile Community -exporttoiso -filepath 'ESXi-6.5-Custom_r8168_al.iso' -nosignaturecheck -Force". But I receive error like this:

export-esximageprofile : Error retrieving file for VIB 'VMW_bootbank_shim-vmklinux-9-2-3-0_6.5.0-0.0.4564106': ('vib20/shim-vmklinux-9-2-3-0/VMW_bootbank_shim-vmklinux-9-2-3-0_6.5.0-0.0.4564106.vib', "Unable to open VIB archive in streaming mode: '_SharedFile' object
has no attribute 'writing'").
At line:1 char:1
+ export-esximageprofile -imageprofile Community -exporttoiso -filepath ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Export-EsxImageProfile], FaultException
+ FullyQualifiedErrorId : System.ServiceModel.FaultException,VMware.ImageBuilder.Commands.ExportProfile

What is wrong? How can I resolve this problem?

0 Kudos
2 Replies
maksym007
Hot Shot
Hot Shot

Have you downloaded an offline bundle or just ISO file?

0 Kudos
bartekjan
Contributor
Contributor

If you mean download from VMware I downloaded offline bundle.

If you mean export depot to offline bundle, I can do it. Error occurs when I export to iso

0 Kudos