I have my VMs on a dedicated computer, over SSH I use vboxheadless to start them, and then I use remote desktop to use them.Now, while a VM is running, it is trivial to insert the GuestAdditions image into the guest's optical drive and install them. To do that with an attached GUI, it's at Devices > Insert Guest Additions CD Image.However, I'm not using the GUI because I'm using the guest OS via remote desktop, so I obviously don't have the menus, either.I'd like to know how to perform this function from command line. I'd imagine it's using vboxmanage to insert and remove that CD image from the virtual guest machine's drive.Also, is there a way how to insert any other CD images and/or floppy images into the virtual drives of a guest system - and remove them - while the guest OS is running?
How to insert guest additions image in VirtualBox from command line, while VM is running?
command line;virtualbox