osmates vm disc
Insert, change or eject the disc in a machine's DVD drive, while it runs or is shut down.
osmates vm disc <subcommand>Every machine has a DVD drive. A disc goes in while the machine runs, and a shut-down machine keeps it for its next start. The image is opened by its path at each start, so a moved image leaves the drive empty.
Windows shows the drive with its letter. Linux and macOS see a USB disk, and take an image only from this Mac's own disk.
A guest that holds its disc is asked to eject it and has 10 seconds. One that keeps it exits 75, unless --force. A suspended machine keeps its disc until it starts, or until osmates vm stop --discard.
Discs in a machine's window: https://osmates.com/docs/window
Examples
osmates vm disc insert win ~/Downloads/drivers.iso
osmates vm disc eject winSubcommands
osmates vm disc insertPut a disc in the drive, in place of the one there.osmates vm disc ejectTake the disc out of the drive.