Some additional clears
This commit is contained in:
parent
3cf283dbe4
commit
4b9f281007
|
@ -608,6 +608,8 @@ function choose_username {
|
||||||
if [ ${#possible_username} -gt 1 ]; then
|
if [ ${#possible_username} -gt 1 ]; then
|
||||||
if [[ $possible_username != $GENERIC_IMAGE_USERNAME ]]; then
|
if [[ $possible_username != $GENERIC_IMAGE_USERNAME ]]; then
|
||||||
MY_USERNAME=$(cat $data)
|
MY_USERNAME=$(cat $data)
|
||||||
|
clear
|
||||||
|
echo $'Creating user account'
|
||||||
chmod 600 /etc/shadow
|
chmod 600 /etc/shadow
|
||||||
chmod 600 /etc/gshadow
|
chmod 600 /etc/gshadow
|
||||||
useradd -m -s /bin/bash $MY_USERNAME
|
useradd -m -s /bin/bash $MY_USERNAME
|
||||||
|
@ -691,6 +693,7 @@ function choose_full_name {
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
save_configuration_values
|
save_configuration_values
|
||||||
|
clear
|
||||||
}
|
}
|
||||||
|
|
||||||
function choose_system_variant {
|
function choose_system_variant {
|
||||||
|
@ -968,6 +971,9 @@ function interactive_select_language {
|
||||||
esac
|
esac
|
||||||
save_configuration_values
|
save_configuration_values
|
||||||
|
|
||||||
|
clear
|
||||||
|
echo 'Setting locale'
|
||||||
|
|
||||||
locale-gen "${DEFAULT_LANGUAGE}"
|
locale-gen "${DEFAULT_LANGUAGE}"
|
||||||
update-locale LANG=${DEFAULT_LANGUAGE}
|
update-locale LANG=${DEFAULT_LANGUAGE}
|
||||||
update-locale LANGUAGE=${DEFAULT_LANGUAGE}
|
update-locale LANGUAGE=${DEFAULT_LANGUAGE}
|
||||||
|
|
Loading…
Reference in New Issue