diff --git a/debian/chroot.install b/debian/chroot.install index f285215..14c54f0 100755 --- a/debian/chroot.install +++ b/debian/chroot.install @@ -12,6 +12,20 @@ fi vgname="ovhsys" ## If the script should manage the partitions (delete, add,…) manage_part=0 +## Colors definition {{{ +BLACK='\033[49;30m' +BLACKB='\033[49;90m' +RED='\033[0;31m' +REDB='\033[1;31m' +GREEN='\033[0;32m' +YELLOW='\033[0;33m' +BLUE='\033[94;49m' +MAGENTA='\033[0;35m' +CYAN='\033[36;49m' +WHITE='\033[0;37m' +BOLD='\033[1m' +RESET='\033[0m' +## }}} ## Package to exclude from debootstrap install dbs_pkg_exclude="vim" @@ -169,3 +183,12 @@ rm -f -- "${tmp_list_lv}" ## }}} # }}} +# Finish {{{ + +printf '%b\\n' "${REDB}Please change the root's password :${RESET}" +chroot /target passwd + +printf '%b\\n' "${GREEN}The system is still available on /target but you can now try to reboot the hardware." + +exit 0 +# }}}