Add Bash function to automate the creation of a chroot.