Update install.func

This commit is contained in:
tteckster 2023-05-10 17:53:04 -04:00 committed by GitHub
parent 4123a384d9
commit d83b93c788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -59,10 +59,9 @@ msg_error() {
setting_up_container() { setting_up_container() {
msg_info "Setting up Container OS" msg_info "Setting up Container OS"
su -
echo "export HOME=/root" >>/root/.bashrc echo "export HOME=/root" >>/root/.bashrc
echo "export TERM='xterm-256color'" >>/root/.bashrc echo "export TERM='xterm-256color'" >>/root/.bashrc
exit . /root/.bashrc
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null locale-gen >/dev/null
echo $tz >/etc/timezone echo $tz >/etc/timezone