]> git.proxmox.com Git - pve-installer.git/commitdiff
drop also into debug shell before even starting to install
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 07:27:52 +0000 (09:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 08:05:00 +0000 (10:05 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
unconfigured.sh

index 7d29a2ebfcc92f14ae078c27dc84eec7a5baea54..fbf9d45575b6ca06e6cc14e9b028e693b2ce9ba5 100755 (executable)
@@ -81,6 +81,12 @@ export PREVLEVEL=N
 mkdir -p /dev/shm
 mount -t tmpfs tmpfs /dev/shm
 
+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"
+    debugsh
+fi
+
 # set the hostname 
 hostname proxmox