[Libguestfs] [PATCH v2] rescue: add --autosysroot option RHBZ#1183493

Maros Zatko mzatko at redhat.com
Wed Jun 1 00:04:32 UTC 2016


--autosysroot option uses suggestions to user on how to mount filesystems
and change root suggested by --suggest option in virt-rescue.

Commands are passed on kernel command line in format
guestfs_command=command;. Command ends with a semicolon and there can be
multiple commands specified. These are executed just before bash starts.
On successfull run user is presented directly with bash in chroot
environment.

Resolves RFE: RHBZ#1183493

Maros Zatko (1):
  rescue: add --autosysroot option RHBZ#1183493

 appliance/init  |   5 ++
 rescue/rescue.c | 169 +++++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 143 insertions(+), 31 deletions(-)

-- 
2.5.5




More information about the Libguestfs mailing list