]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
fs: Mount devpts
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 2 Oct 2012 14:44:52 +0000 (10:44 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 2 Oct 2012 14:44:52 +0000 (10:44 -0400)
I am not sure how we worked before, but I started getting:
PTY allocation request failed on channel 0

when trying to SSH. It was due to the devpts not being
mounted.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/etc/init.d/core_filesystems

index c2f10556148016ad9e1ba5fc9cf72cb3e5f5565b..0f648122b98b7ca8b813fc24868d579029a213d0 100755 (executable)
@@ -57,3 +57,7 @@ mount -t xenfs xenfs /proc/xen
 
 mount debugfs -t debugfs /sys/kernel/debug
 mount configfs -t configfs /sys/kernel/config
+
+mkdir /dev/pts
+mount -t devpts devpts /dev/pts
+