testing: Start a login shell in chroot script
This ensures we have the same environment (e.g. stuff from /etc/profile.d) as when logging in via SSH later.
This commit is contained in:
@@ -68,4 +68,4 @@ echo
|
||||
fi
|
||||
|
||||
export debian_chroot="$1"
|
||||
chroot $LOOPDIR /bin/bash -i
|
||||
chroot $LOOPDIR /bin/bash -l
|
||||
|
||||
Reference in New Issue
Block a user