]> git.proxmox.com Git - pve-installer.git/commitdiff
unconfigured: allow pseudo terminals
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Apr 2020 12:01:30 +0000 (14:01 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Apr 2020 12:01:32 +0000 (14:01 +0200)
allow to open a terminal in X

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
unconfigured.sh

index cf592594f93a63c267efd0b2279a221f9e04fe92..1d8cf7c8915fb161d0dd6ff66173e313b50bb346 100755 (executable)
@@ -88,6 +88,10 @@ export PREVLEVEL=N
 mkdir -p /dev/shm
 mount -t tmpfs tmpfs /dev/shm
 
+# allow pseudo terminals for debuggin in X
+mkdir -p /dev/pts
+mount -vt devpts devpts /dev/pts -o gid=5,mode=620
+
 if [ $proxdebug -ne 0 ]; then
     echo "Dropping in debug shell inside chroot before starting installation"
     echo "type exit or CTRL-D to start installation wizard"