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

Maros Zatko mzatko at redhat.com
Tue May 24 17:11:54 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.

RFE: RHBZ#1183493
Depends on commit: utils: make guestfs_int_count_strings return 0 on NULL input

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

 appliance/init  |   6 +++
 rescue/rescue.c | 160 ++++++++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 134 insertions(+), 32 deletions(-)

-- 
2.5.5




More information about the Libguestfs mailing list