SHA256
1
0
forked from pool/libguestfs

- reorder debug output in /init script, print partitions last

- mention mount-rootfs-and-do-chroot.sh in rescue message

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=104
This commit is contained in:
Olaf Hering 2012-09-21 18:06:06 +00:00 committed by Git OBS Bridge
parent de9dee77f4
commit 72cdcb7d7d
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 21 20:03:21 CEST 2012 - ohering@suse.de
- reorder debug output in /init script, print partitions last
- mention mount-rootfs-and-do-chroot.sh in rescue message
-------------------------------------------------------------------
Thu Sep 20 17:52:13 CEST 2012 - ohering@suse.de

View File

@ -123,15 +123,15 @@ if grep -sq guestfs_verbose=1 /proc/cmdline; then
head -n 1234 \
/proc/mounts \
/proc/modules \
/proc/partitions \
/proc/version \
/proc/cpuinfo \
/proc/uptime
/proc/uptime \
/proc/version \
/proc/partitions
lvm pvs
lvm vgs
lvm lvs
ip a
ip r
# ip a
# ip r
date
echo "These commands might be called by guestfsd, but they were not available at buildtime:"
echo "missing commands: $missing_commands"
@ -175,7 +175,8 @@ else
echo
echo "Note: The contents of / are the rescue appliance."
echo "You have to mount the guest's partitions under /sysroot"
echo "before you can examine them."
echo "before you can examine them. A helper script for that exists:"
echo "mount-rootfs-and-do-chroot.sh /dev/sda2"
echo
setctsid "/dev/${console_kname}" bash -i
echo