GNOME Bugzilla – Bug 688334
unmount install cd after installation done
Last modified: 2016-03-31 13:58:49 UTC
We currently leave the install iso in the VM after installation, which gives various error messages when starting the VM.
Well, it gives errors for me, since the iso file is no longer there.
With us being able to track when installation is over, we could simply remove the CDROM/ISO (along with unattended disk) but first we need to make this tracking permanent. Here is how to fix this: 1. Add API in libvirt-glib to get/set pointer to xmlNodePtr for the custom elements (this is required because you didn't like the way we currently handle custom nodes in vm-configurator and you didn't want more of such code). 2. Keep relevant media and os IDs in domain xml for domains under installation. 3. When restoring domains under installation on startup, grab the media and os objects from the IDs. 4. Now that we can track installations even when user quits boxes in between installations, we can go on and remove the CDROM and unattended disks from config. 1-3 will also be needed for bug#688333.
(In reply to comment #0) > We currently leave the install iso in the VM after installation, which gives > various error messages when starting the VM. (In reply to comment #1) > Well, it gives errors for me, since the iso file is no longer there. While working on this, I realized that you should not be getting any errors since we do flag CDROM as optional. I tried to reproduce and as expected I did not get any errors.
Just posted some patches in bug#690536 that fixes this along with a few other things.
Why was it not marked as a duplicate of bug #690536? (since you decided to open a new bug rather than reuse this one)