Bug 985201 - RFE: Add virt-install --reinstall DOMAIN option
Summary: RFE: Add virt-install --reinstall DOMAIN option
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
: 1325653 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 05:33 UTC by Daniel Veillard
Modified: 2020-02-06 00:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-06 00:44:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Veillard 2013-07-17 05:33:52 UTC
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

Proposed solution:
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
  http://andyregan.net/blog/libvirt-kvm-booting-from-an-iso-image/
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.

Daniel

Comment 1 Cole Robinson 2014-02-04 22:50:58 UTC
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.

Comment 2 Cole Robinson 2016-04-11 11:48:35 UTC
*** Bug 1325653 has been marked as a duplicate of this bug. ***

Comment 3 Cole Robinson 2020-02-06 00:44:40 UTC
`virt-install --reinstall $VMNAME` option is upstream now


Note You need to log in before you can comment on or make changes to this bug.