mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
appliance/init: Display uname -a in debug output.
Useful for debugging kernel / architecture issues. Note this has no effect if debugging is disabled. (cherry picked from commit6c2fad11ac) (cherry picked from commit9fc75d4133)
This commit is contained in:
@@ -103,6 +103,7 @@ for f in /sys/block/vd*/queue/rotational; do echo 1 > $f; done
|
||||
|
||||
# These are useful when debugging.
|
||||
if grep -sq guestfs_verbose=1 /proc/cmdline; then
|
||||
uname -a
|
||||
ls -lR /dev
|
||||
cat /proc/mounts
|
||||
lvm pvs
|
||||
|
||||
Reference in New Issue
Block a user