Some additional clears

This commit is contained in:
Bob Mottram 2017-06-14 20:37:07 +01:00
parent 3cf283dbe4
commit 4b9f281007
1 changed files with 6 additions and 0 deletions

View File

@ -608,6 +608,8 @@ function choose_username {
if [ ${#possible_username} -gt 1 ]; then
if [[ $possible_username != $GENERIC_IMAGE_USERNAME ]]; then
MY_USERNAME=$(cat $data)
clear
echo $'Creating user account'
chmod 600 /etc/shadow
chmod 600 /etc/gshadow
useradd -m -s /bin/bash $MY_USERNAME
@ -691,6 +693,7 @@ function choose_full_name {
esac
done
save_configuration_values
clear
}
function choose_system_variant {
@ -968,6 +971,9 @@ function interactive_select_language {
esac
save_configuration_values
clear
echo 'Setting locale'
locale-gen "${DEFAULT_LANGUAGE}"
update-locale LANG=${DEFAULT_LANGUAGE}
update-locale LANGUAGE=${DEFAULT_LANGUAGE}