Bug 2134002

Summary: [RFE] ImageBuilder(On premise): Add folder field in CLI for VMware datastore upload
Product: Red Hat Enterprise Linux 8 Reporter: Abhijeet Joshi <abjoshi>
Component: osbuild-composerAssignee: Image Builder team <osbuilders>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 8.6CC: atodorov, obudai, sbarcomb, sraymaek, sstagnar, thozza
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: osbuild-composer-83-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 15:25:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Sanne Raymaekers 2023-03-03 12:45:30 UTC
So image builder doesn't use datastore.upload, it executes import.vmdk. Just to clarify, it's about the directory name on the remote, or is it the `-folder=` (GOVC_FOLDER) option that you want to be able to set?

govc import.vmdk takes a single directory name as optional 2nd argument, nested directories are not possible. By default it will create a folder which has the same name as the vmdk, without the extension.

Comment 12 errata-xmlrpc 2023-11-14 15:25:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (osbuild, osbuild-composer, and cockpit-composer bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:6906