Bug 1183493 - RFE: virt-rescue: add a flag to autorun the suggested mount commands and chroot, suggested with --suggest
Summary: RFE: virt-rescue: add a flag to autorun the suggested mount commands and chro...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-19 08:30 UTC by Steffen Vinther Sørensen
Modified: 2017-03-23 19:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 19:15:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Steffen Vinther Sørensen 2015-01-19 08:30:03 UTC
Current procedure:
==================

1. run virt-rescue --suggest
2. copy mount commands to clipboard
3. run virt-rescue
4. paste mount commands
5. chroot to /sysroot


Preferred procedure:
====================

1. run virt-rescue --suggest --autosysroot

Comment 1 Richard W.M. Jones 2015-01-19 14:13:07 UTC
Yup.  Tricky to implement ...

Comment 2 Richard W.M. Jones 2017-03-23 19:15:45 UTC
This has now been implemented, actually much more simply:

$ virt-rescue -a disk.img -i

https://github.com/libguestfs/libguestfs/commit/33d2ae796119ae5dd38e2afcbf1ba4216bd99846

Fixed in libguestfs >= 1.37.1.


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