apt-get remove -y systemd
# Create user with same UID in the chroot
-useradd -m -p `python -c 'import crypt; print crypt.crypt("1234","Fx")'` -s /bin/bash $SUDO_USER -k /etc/skel
+useradd -m -p `python3 -c 'import crypt; print (crypt.crypt("1234","Fx"))'` \
+ -s /bin/bash $SUDO_USER -k /etc/skel
echo -e "
Added user ${SUDO_USER} with \e[1;91mpassword: 1234\e[0m"
echo '$SUDO_USER ALL=NOPASSWD: ALL' >> /etc/sudoers.d/$chrootdir
# Create user with same UID in the chroot
-useradd -m -p `python -c 'import crypt; print crypt.crypt("1234","Fx")'` -s /bin/bash $SUDO_USER -k /etc/skel
+useradd -m -p `python3 -c 'import crypt; print (crypt.crypt("1234","Fx"))'` \
+ -s /bin/bash $SUDO_USER -k /etc/skel
echo -e "
Added user ${SUDO_USER} with \e[1;91mpassword: 1234\e[0m"