update install_chroot_image.sh for more use cases