ModEdit; related ticket: #18873: "VBoxManage sharedfolder add" is missing documentation about the "--auto-mount-point" option
I am trying to configure a Linux (CentOS 7) VM running on a Windows 7 host using VBoxManage (using VirtualBox 6.0.10) to script the configuration of my VM. While I have been able to add USB filters and perform other tasks via the CLI, I am struggling to map a folder on the host as a mount point in my VM. I am able to do it manually in the GUI where I am able to specify the "Mount Point" (e.g. "/mnt/host/x") which is associated with a "Folder Path" (e.g. "C:\Blah\Blah\x") and make it "Permanent" and "Auto-mount".
Where is the "Mount Point" option in the following syntax?
It appears the VBoxManage command is missing this functionality and means I have to do it via the GUI - am I missing something here as I would really like to do this using VBoxManage?VBoxManage sharedfolder add "CentOS VM" --name "x" --hostpath "C:\Blah\Blah\x" --automount