mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
init: Add comment that we should consider using /proc/consoles.
Although we can't use it at the moment because it is incorrect on at least s390x (RHBZ#1351968).
This commit is contained in:
@@ -185,6 +185,7 @@ else
|
||||
sleep 2
|
||||
|
||||
# Get name of the serial port, from console= passed by libguestfs.
|
||||
# XXX Consider using /proc/consoles
|
||||
guestfs_serial=$(grep -Eo 'console=[^[:space:]]+' /proc/cmdline |
|
||||
sed s/console=//)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user