Red Hat Bugzilla – Bug 985201
RFE: Add virt-install --reinstall DOMAIN option
Last modified: 2016-04-11 07:48:35 EDT
Description of problem:
Sometimes one would like to reboot a domain to fix it or upgrade it from
an ISO image, either from an on-disk iso file or CD-Rom device
Add a contextual entry to the pop up associated to a domain, e.g. above
the clone option "Boot from ISO", leading to a file selection like for the
installer (code can probably reused), once the device path is acquired
extend the XML as suggested in
boot the domain and then revert back the XML to previous version temporarilly
saved in memory.
Makes the recovery/upgrade step way simpler than messing in the hardware
section of the domain, and trying to change the boot order.
Hmm, I don't really like the idea of adding a specific menu entry for this in virt-manager. We try to keep the context menu entries to point to high level tasks that can't be accomplished any other way: what's suggested would be a convenience option saving the user < 10 clicks.
In the 'rescue' case, there's already the very helpful virt-rescue command, though it's command line only.
I've thought about adding a virt-install --reinstall DOMAIN_NAME command that would also help facilitate a usecase like this, to stick a CDROM on the guest and boot from it once. Would also cover other usecases like legitimate reinstalls. And it should be pretty easy to wire up in virt-install. Let's use this bug to track that.
*** Bug 1325653 has been marked as a duplicate of this bug. ***